Ajout tests unitaires #3
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: Tests | |
on: | |
push: | |
branches: ["master"] | |
pull_request: | |
branches: ["master"] | |
jobs: | |
tests: | |
name: "Tests" | |
runs-on: "ubuntu-latest" | |
steps: | |
- uses: "actions/checkout@v3" | |
- uses: eifinger/setup-rye@v2 | |
id: install-rye | |
- name: "Install dependencies" | |
run: "rye sync" | |
- name: "Exécute les tests sans les benchmarks" | |
run: "rye run pytest tests" |