chore: bump version #913
This file contains 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: CI | |
on: | |
push: | |
branches: | |
- 'main' | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: [ '3.10' ] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: pdm-project/setup-pdm@v3 | |
with: | |
python-version: ${{ matrix.python-version }} | |
cache: true | |
- name: Bootstrap | |
run: make install | |
- name: Static Analysis | |
run: make lint | |
- name: Static Type Check | |
run: make pyright | |
- name: Tests | |
run: make test | |
- name: Coverage | |
run: make testcov | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v3 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos | |
files: ./coverage.lcov # optional | |
flags: unittests # optional | |
name: codecov-umbrella # optional | |
override_branch: "main" | |
verbose: true # optional (default = false) | |