Skip to content

Don't duplicate CI checks on PRs #676

Don't duplicate CI checks on PRs

Don't duplicate CI checks on PRs #676

Workflow file for this run

name: Check
on:
push:
branches:
- "master"
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
build:
name: ${{ matrix.tox-environment }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
tox-environment:
- docs
- examples
- lint
env:
TOXENV: ${{ matrix.tox-environment }}
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3'
cache: pip
- name: Install dependencies
run: python -m pip install tox
- name: Run
run: tox