Skip to content

Release v0.6.0

Release v0.6.0 #176

Workflow file for this run

name: Check format, lint, and test
on:
push:
paths:
- '.github/workflows/lint.yaml'
- '.github/workflows/test.yaml'
- 'zeus/**'
- 'tests/**'
- 'capriccio/*.py'
- 'examples/**'
- 'setup.py'
- 'scripts/lint.sh'
- 'pyproject.toml'
# Jobs initiated by previous pushes get cancelled by a new push.
concurrency:
group: ${{ github.ref }}-lint-and-test
cancel-in-progress: true
jobs:
format_lint_test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: 3.9
cache: 'pip'
cache-dependency-path: 'setup.py'
- name: Install Zeus and lint tools
run: pip install ".[dev]"
- name: Check format and lint
run: bash scripts/lint.sh
- name: Run tests
run: pytest