Bump JamesIves/github-pages-deploy-action from 4.8.0 to 4.9.0 #1522
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: 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/checkout@v4.1.6 | |
| - uses: actions/setup-python@v7.0.0 | |
| with: | |
| python-version: "3.11" | |
| - run: | | |
| pip install pre-commit | |
| pre-commit run --all-files --show-diff-on-failure | |
| - if: ${{ failure() }} | |
| run: git diff | |
| devops: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@v4.1.6 | |
| with: | |
| submodules: recursive | |
| fetch-depth: 0 # https://github.com/pypa/setuptools_scm/issues/480 | |
| - run: | | |
| pip install -r tests/devops_tests/requirements.txt | |
| pip install "ghapi<2.0.0" "fastcore<2" | |
| - env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| run: pytest ${{ env.pytest_options }} -k "not test_run_notebooks" tests/devops_tests | |