Skip to content

Commit

Permalink
forgot to restore test actions config
Browse files Browse the repository at this point in the history
  • Loading branch information
adrn committed Aug 26, 2024
1 parent 84c87f3 commit 9fcf819
Showing 1 changed file with 44 additions and 47 deletions.
91 changes: 44 additions & 47 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit 9fcf819

Please sign in to comment.