Skip to content

Rename workflow to include information #42

Rename workflow to include information

Rename workflow to include information #42

Workflow file for this run

name: Test MDANSE
on:
pull_request:
schedule:
- cron: "0 0 * * *"
jobs:
test:

Check failure on line 9 in .github/workflows/tests.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/tests.yml

Invalid workflow file

You have an error in your yaml syntax on line 9
name: [${{ matrix.os }}-${{ matrix.python-version }}] Build MDANSE and run tests
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
# os: [ubuntu-20.04, windows-2019, macOS-11, ubuntu-latest, windows-latest, macOS-latest]
if: |
!contains( github.ref, 'legacy' )
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install pytest
run: python -m pip install pytest pytest-timeout
- name: Install MDANSE
working-directory: MDANSE
run: python -m pip install .
- name: Run unit tests
working-directory: MDANSE/Tests/UnitTests
run: python -m pytest
- name: Install MDANSE_GUI
working-directory: MDANSE_GUI
run: python -m pip install .
- name: Run GUI unit tests
working-directory: MDANSE_GUI/Tests/UnitTests
run: python -m pytest