Skip to content

Add CPU and GPU into backends #142

Add CPU and GPU into backends

Add CPU and GPU into backends #142

Workflow file for this run

# 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

View workflow run for this annotation

GitHub Actions / Tests

Invalid workflow file

The workflow is not valid. .github/workflows/rules.yml (Line: 11, Col: 9): Unexpected symbol: '{{'. Located at position 101 within expression: contains(github.event.pull_request.labels.*.name, 'run-workflow') || github.event_name == 'push' && {{ $CUDA_PATH != '' }}
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