Nightly Custom test suite #573
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: Nightly Custom test suite | |
| on: | |
| schedule: | |
| - cron: '0 8 * * *' # every day at 1 AM, PST | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| max-parallel: 4 | |
| matrix: | |
| python-version: ["3.13"] | |
| steps: | |
| - name: Checkout repo | |
| uses: actions/checkout@v1 | |
| - name: Increase swap space | |
| uses: actionhippie/swap-space@v1 | |
| with: | |
| size: 16G | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v1 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install .[dev,fury,afqbrowser,nn] | |
| sudo apt-get install -y \ | |
| libgl1 \ | |
| libglx-mesa0 \ | |
| libegl1 \ | |
| libgl1-mesa-dri \ | |
| libvulkan1 \ | |
| mesa-vulkan-drivers \ | |
| vulkan-tools | |
| - name: Lint | |
| run: | | |
| flake8 --ignore N802,N806,W503 --select W504 `find . -name \*.py | grep -v setup.py | grep -v version.py | grep -v __init__.py | grep -v /docs/` | |
| - name: Test | |
| run: | | |
| cd && mkdir for_test && cd for_test && pytest --pyargs AFQ --cov-report term-missing --cov=AFQ -m "nightly_custom" --durations=0 |