Revert 4 feature/ferrispline submodule #11
Workflow file for this run
This file contains hidden or 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 & Coverage | |
| on: [push, pull_request] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| # for gmsh and panda3D | |
| - name: Install system graphics dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y libglu1-mesa libgl1-mesa-dev libosmesa6 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v3 | |
| - name: Set up Python | |
| run: uv python install | |
| - name: Install dependencies | |
| run: uv sync --all-extras --dev --find-links wheel/ | |
| - name: Run tests with coverage | |
| # On génère un rapport XML pour Codecov | |
| run: uv run pytest --cov=. --cov-report=xml | |
| - name: Upload coverage to Codecov | |
| uses: codecov/codecov-action@v4 | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| file: ./coverage.xml | |
| fail_ci_if_error: true |