Skip to content

Split CI and release pipelines #879

Split CI and release pipelines

Split CI and release pipelines #879

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
jobs:
lint:
uses: ./.github/workflows/_tox.yml
with:
tox: pre-commit
test:
uses: ./.github/workflows/_test.yml
with:
python-version: dev
runs-on: ubuntu-latest
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
docs:
uses: ./.github/workflows/_docs.yml
permissions:
contents: write
example:
needs: test
if: github.ref_name == 'main'
uses: ./.github/workflows/_example.yml
secrets:
EXAMPLE_DEPLOY_KEY: ${{ secrets.EXAMPLE_DEPLOY_KEY }}