Merge branch 'main' into ggn-linop #825
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
name: Test | |
on: | |
push: | |
branches: | |
- '*' | |
pull_request: | |
branches: | |
- '*' | |
jobs: | |
tests: | |
name: "Python ${{ matrix.python-version }}" | |
runs-on: ubuntu-latest | |
env: | |
USING_COVERAGE: '3.9' | |
strategy: | |
matrix: | |
python-version: ["3.9"] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "${{ matrix.python-version }}" | |
cache: pip | |
- name: Install Dependencies | |
run: | | |
python -m pip install --upgrade pip | |
make install-test | |
- name: Run test | |
if: contains('refs/heads/main', github.ref) | |
run: | | |
make test | |
- name: Run test-light | |
if: contains('refs/heads/main', github.ref) != 1 | |
run: | | |
make test-light | |
- name: Test coveralls - python ${{ matrix.python-version }} | |
run: coveralls --service=github | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
flag-name: run-${{ matrix.python-version }} | |
parallel: true |