📝 docs: update readme #33
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: Coverage | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
test: | |
runs-on: ubuntu-22.04 | |
permissions: | |
contents: read | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Just 📦 | |
uses: extractions/setup-just@v2 | |
- name: Install the latest version of uv 📦 | |
uses: astral-sh/setup-uv@v2 | |
- name: Install python 📦 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.12' | |
- name: Install dependencies 📦 | |
run: just install | |
- name: Run tests and benchmarks ✅ | |
uses: CodSpeedHQ/action@v3 | |
with: | |
run: just test | |
- name: Upload coverage reports to Codecov 📦 | |
uses: codecov/codecov-action@v4 | |
env: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | |
with: | |
flags: nanoflow | |
plugins: pycoverage,compress-pycoverage |