initial responses to comments and restructuring #391
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: Test | |
on: [push] | |
jobs: | |
build: | |
runs-on: self-hosted | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup rye | |
uses: eifinger/setup-rye@v4 | |
with: | |
enable-cache: true | |
version: '0.39.0' | |
- name: Run pyright check | |
run: make pyright | |
- name: Check linting | |
run: rye lint bicytok | |
- name: Check formatting | |
run: rye fmt --check bicytok | |
- name: Test with pytest | |
run: make coverage.xml | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v4 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
file: ./coverage.xml | |
flags: unittests | |
env_vars: OS,PYTHON | |
name: codecov-umbrella | |
fail_ci_if_error: true |