-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
forgot to restore test actions config
- Loading branch information
Showing
1 changed file
with
44 additions
and
47 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -69,50 +69,47 @@ jobs: | |
python-version: ${{ matrix.python-version }} | ||
allow-prereleases: true | ||
|
||
- name: WTF | ||
run: echo ${{ needs.check_skip_flags.outputs.HEAD_COMMIT_MESSAGE }} | ||
|
||
# # For animation tests | ||
# - uses: FedericoCarboni/setup-ffmpeg@v3 | ||
# if: ${{ !startsWith(matrix.os, 'mac') }} | ||
# continue-on-error: true | ||
# with: | ||
# # Not strictly necessary, but it may prevent rate limit | ||
# # errors especially on GitHub-hosted macos machines. | ||
# github-token: ${{ secrets.GITHUB_TOKEN }} | ||
# ffmpeg-version: "6.1.0" | ||
# id: setup-ffmpeg | ||
|
||
# # Mac: | ||
# - name: Setup Mac - GSL | ||
# if: startsWith(matrix.os, 'mac') | ||
# run: | | ||
# brew install gsl | ||
|
||
# # Ubuntu: | ||
# - name: Setup Linux - GSL | ||
# if: runner.os == 'Linux' | ||
# run: | | ||
# sudo apt-get update | ||
# sudo apt-get install gsl-bin libgsl0-dev build-essential | ||
# sudo apt-get install libhdf5-serial-dev # TODO: remove when h5py has 3.11 wheels | ||
|
||
# - name: Install package and dependencies | ||
# run: python -m pip install -e ".[${{ matrix.pip-test-deps }}]" | ||
# env: | ||
# GALA_NOGSL: ${{ matrix.gala-nogsl }} | ||
|
||
# - name: Update versions if testing min versions | ||
# if: matrix.numpy-version != 'latest' | ||
# run: | | ||
# python -m pip install numpy~=${{ matrix.numpy-version }} | ||
|
||
# - name: Run tests | ||
# run: >- | ||
# python -m pytest -ra --cov --cov-report=xml --cov-report=term | ||
# --durations=20 . | ||
|
||
# - name: Upload coverage report | ||
# uses: codecov/[email protected] | ||
# with: | ||
# token: ${{ secrets.CODECOV_TOKEN }} | ||
# For animation tests | ||
- uses: FedericoCarboni/setup-ffmpeg@v3 | ||
if: ${{ !startsWith(matrix.os, 'mac') }} | ||
continue-on-error: true | ||
with: | ||
# Not strictly necessary, but it may prevent rate limit | ||
# errors especially on GitHub-hosted macos machines. | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
ffmpeg-version: "6.1.0" | ||
id: setup-ffmpeg | ||
|
||
# Mac: | ||
- name: Setup Mac - GSL | ||
if: startsWith(matrix.os, 'mac') | ||
run: | | ||
brew install gsl | ||
# Ubuntu: | ||
- name: Setup Linux - GSL | ||
if: runner.os == 'Linux' | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install gsl-bin libgsl0-dev build-essential | ||
sudo apt-get install libhdf5-serial-dev # TODO: remove when h5py has 3.11 wheels | ||
- name: Install package and dependencies | ||
run: python -m pip install -e ".[${{ matrix.pip-test-deps }}]" | ||
env: | ||
GALA_NOGSL: ${{ matrix.gala-nogsl }} | ||
|
||
- name: Update versions if testing min versions | ||
if: matrix.numpy-version != 'latest' | ||
run: | | ||
python -m pip install numpy~=${{ matrix.numpy-version }} | ||
- name: Run tests | ||
run: >- | ||
python -m pytest -ra --cov --cov-report=xml --cov-report=term | ||
--durations=20 . | ||
- name: Upload coverage report | ||
uses: codecov/[email protected] | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} |