Skip to content

Tests

Tests #32

Workflow file for this run

name: Tests
on:
workflow_dispatch:
push:
merge_group:
pull_request:
types: [labeled]
env:
IBMQ_TOKEN: ${{ secrets.IBMQ_TOKEN }}
jobs:
print:
runs-on: ubuntu-latest
steps:
- name: echo
run: |
echo "-----------------------> Checking whether the global variable is correctly set"
echo $IBMQ_TOKEN
build:
if: contains(github.event.pull_request.labels.*.name, 'run-workflow') || github.event_name == 'push'
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
python-version: [3.9, '3.10', '3.11']
uses: qiboteam/workflows/.github/workflows/rules-poetry.yml@test_cloud
with:
os: ${{ matrix.os }}
python-version: ${{ matrix.python-version }}
poetry-extras: "--with dev"
secrets: inherit