All Tests #46
This file contains hidden or 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: All Tests | |
| on: | |
| schedule: | |
| # Runs every Monday at 12:00 UTC | |
| - cron: '0 12 * * 1' | |
| workflow_dispatch: | |
| jobs: | |
| tests: | |
| runs-on: ubuntu-24.04 | |
| permissions: | |
| contents: write | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| - name: Install GROMACS | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y gromacs | |
| - name: setup Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: "3.13" | |
| check-latest: true | |
| - run: python -m pip install tox coverage[toml] | |
| - name: run Python tests | |
| run: | | |
| tox -e tests-package | |
| tests-develop: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| - name: setup Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: "3.13" | |
| check-latest: true | |
| - run: python -m pip install tox | |
| - name: run develop (out-of-package) tests | |
| run: | | |
| tox -e tests-develop |