Skip to content

removing rnd reuse logic (disabled by default) #75

removing rnd reuse logic (disabled by default)

removing rnd reuse logic (disabled by default) #75

Workflow file for this run

name: precommit and devops tests
defaults:
run:
shell: bash
env:
# common options for pytest
pytest_options: "--durations=10 -v -s -We -p no:unraisableexception"
on:
push:
branches: [ main ]
paths: ['docs/**', '**.md']
pull_request:
branches: [ main ]
schedule:
- cron: '0 13 * * 4'
jobs:
precommit:
runs-on: ubuntu-24.04
steps:
- uses: actions/[email protected]
- uses: actions/[email protected]
with:
python-version: 3.9
- run: |
pip install pre-commit
pre-commit clean
pre-commit autoupdate
pre-commit run --all-files
- if: ${{ failure() }}
run: git diff
devops:
runs-on: ubuntu-24.04
steps:
- uses: actions/[email protected]
with:
submodules: recursive
fetch-depth: 0 # https://github.com/pypa/setuptools_scm/issues/480
- run: pip install -r tests/devops_tests/requirements.txt
- env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: pytest ${{ env.pytest_options }} -k "not test_run_notebooks" tests/devops_tests