update fit arguments #1
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: | |
test: | |
runs-on: self-hosted | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v4 | |
- name: Setup rye | |
uses: eifinger/setup-rye@v4 | |
with: | |
enable-cache: true | |
version: '0.39.0' | |
- name: Run rye fmt --check | |
run: rye fmt --check | |
- name: Run rye lint | |
run: rye lint | |
- name: Run tests | |
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 |