Update action #6
Workflow file for this run
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, pull_request] | |
env: | |
PYTEST_ADDOPTS: "--color=yes" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Rye Python Setup | |
uses: eifinger/setup-rye@v4 | |
with: | |
version: '0.35.0' | |
- name: Install Dependencies | |
run: rye sync | |
- name: Run Tests | |
run: | | |
source .venv/bin/activate | |
make test | |
- name: Attach Code Coverage | |
uses: py-cov-action/[email protected] | |