Skip to content

Merge pull request #56 from scipp/fix-param-table-docs #192

Merge pull request #56 from scipp/fix-param-table-docs

Merge pull request #56 from scipp/fix-param-table-docs #192

Workflow file for this run

name: CI
on:
push:
branches:
- main
- release
pull_request:
jobs:
formatting:
name: Formatting and static analysis
runs-on: 'ubuntu-20.04'
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
with:
python-version: '3.10'
- run: python -m pip install --upgrade pip
- run: python -m pip install -r requirements/ci.txt
- run: tox -e static
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Apply automatic formatting
tests:
name: Tests
needs: formatting
strategy:
matrix:
os: ['ubuntu-20.04']
tox-env: [py38, dask, mypy]
include:
- python-version: '3.8'
uses: ./.github/workflows/test.yml
with:
os-variant: ${{ matrix.os }}
python-version: ${{ matrix.python-version }}
tox-env: ${{ matrix.tox-env }}
docs:
needs: tests
uses: ./.github/workflows/docs.yml
with:
publish: false
version: ${{ github.ref_name }}
branch: ${{ github.head_ref == '' && github.ref_name || github.head_ref }}