Files
final-qibotn/.github/workflows/rules.yml
Alessandro Candido 35d47ecd1c Add pylint dep
2023-02-07 12:05:24 +01:00

23 lines
593 B
YAML

# A single CI script with github workflow
name: Tests
on:
push:
pull_request:
types: [labeled]
jobs:
build:
if: contains(github.event.pull_request.labels.*.name, 'run-workflow') || github.event_name == 'push'
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: [3.7, 3.8, 3.9, "3.10"]
uses: qiboteam/workflows/.github/workflows/rules.yml@main
with:
os: ${{ matrix.os }}
python-version: ${{ matrix.python-version }}
environment: "qibotn"
pip-extras: "analysis,tests"
secrets: inherit