chore: bump version to 0.7.1 #140
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Tests Python 3.12 | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| validate: | |
| runs-on: "ubuntu-latest" | |
| strategy: | |
| matrix: | |
| python-version: | |
| - "3.12" | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - uses: actions/cache@v4 | |
| with: | |
| path: ~/.cache/pip | |
| key: pip_cache | |
| - name: Install depencency | |
| run: | | |
| pip install gql==3.5.2 gql[aiohttp] gql[websockets] graphql-core asyncio-atexit pytest pytest-cov | |
| - name: Pytest | |
| run: | | |
| python -m pytest --cov=tibber tests/ --cov-report xml:coverage.xml | |
| - name: Upload to codecov | |
| run: | | |
| curl -Os https://uploader.codecov.io/v0.1.0_4653/linux/codecov | |
| chmod +x codecov | |
| ./codecov -t ${CODECOV_TOKEN} |