diff --git a/.github/workflows/rules.yml b/.github/workflows/rules.yml new file mode 100644 index 0000000..e087400 --- /dev/null +++ b/.github/workflows/rules.yml @@ -0,0 +1,21 @@ +# 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" + secrets: inherit