Skip to content

Bump ruff from 0.4.10 to 0.5.0 #47

Bump ruff from 0.4.10 to 0.5.0

Bump ruff from 0.4.10 to 0.5.0 #47

Workflow file for this run

name: Run tests
on:
push:
defaults:
run:
shell: bash -l {0}
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: conda-incubator/setup-miniconda@v3
with:
python-version: '3.10'
auto-update-conda: true
- run: make devinstall
- run: make unittests
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.10'
- run: pip install ruff
- run: make linttest
docs:
if: github.ref == 'refs/heads/master'
needs: [tests, lint]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: conda-incubator/setup-miniconda@v3
with:
python-version: '3.10'
auto-update-conda: true
- run: make devinstall
- run: make doctest
- uses: peaceiris/actions-gh-pages@v4.0.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: doc/_build/html
publish_branch: gh-pages
force_orphan: true