fix(ci): actually run tests on multiple Python versions (#493)

This commit is contained in:
Jérome Eertmans
2024-12-03 12:17:32 +01:00
committed by GitHub
parent 988011ff7d
commit 16d9d32d33

View File

@ -74,9 +74,6 @@ jobs:
with: with:
enable-cache: true enable-cache: true
- name: Setup Python ${{ matrix.pyversion }}
run: uv python install ${{ matrix.pyversion }}
- name: Install manim dependencies on MacOS - name: Install manim dependencies on MacOS
if: matrix.os == 'macos-latest' if: matrix.os == 'macos-latest'
run: brew install ffmpeg py3cairo pango pkg-config scipy run: brew install ffmpeg py3cairo pango pkg-config scipy
@ -96,11 +93,8 @@ jobs:
if: matrix.os == 'windows-latest' if: matrix.os == 'windows-latest'
uses: ssciwr/setup-mesa-dist-win@v2 uses: ssciwr/setup-mesa-dist-win@v2
- name: Install Manim Slides
run: uv sync --locked --extra tests
- name: Run pytest - name: Run pytest
run: uv run pytest run: uv run --python ${{ matrix.pyversion }} --frozen --extra tests pytest
- name: Upload to codecov.io - name: Upload to codecov.io
uses: codecov/codecov-action@v4 uses: codecov/codecov-action@v4