mirror of
https://github.com/jeertmans/manim-slides.git
synced 2025-07-04 15:37:58 +08:00
fix(ci): actually run tests on multiple Python versions (#493)
This commit is contained in:
8
.github/workflows/tests.yml
vendored
8
.github/workflows/tests.yml
vendored
@ -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
|
||||||
|
Reference in New Issue
Block a user