Use runcard to select compute type as no other way to pass in para wo… #157
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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' && {{ $CUDA_PATH != '' }} | ||
Check failure on line 11 in .github/workflows/rules.yml
|
||
strategy: | ||
matrix: | ||
os: [ubuntu-latest] | ||
python-version: [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 |