chore: Remove Python 3.11 upper bound #52
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
# This workflow runs tests and reports code coverage. | |
# We need a workflow name to be able to schedule it from Github UI | |
name: TestCoverage | |
on: | |
# Triggers the workflow on push to main | |
push: | |
branches: | |
- main | |
# Triggers the workflow on any PR | |
pull_request: | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
# The job ID has to match repo settings for PR required checks | |
TestCoverage: | |
runs-on: ubuntu-latest | |
# Run jobs for a couple of Python versions. | |
strategy: | |
matrix: | |
python: ["3.9", "3.10", "3.11"] | |
name: TestCoverage - Python ${{ matrix.python }} | |
steps: | |
- uses: actions/checkout@v2 | |
# --------------------------------------------------------------------------------- | |
# Clones a repository. | |
# If it's private, it also requires ssh-key and adding it to repo secrets on GitHub | |
# --------------------------------------------------------------------------------- | |
- name: Get orquestra-quantum | |
uses: actions/checkout@v2 | |
with: | |
repository: zapatacomputing/orquestra-quantum | |
path: orquestra-quantum | |
# ------------------------------------------------------------------------ | |
# Loads private SSH key to the SSH agent. Allows to install dependencies | |
# from private git repos, but requires setting `secrets.SSH_PRIVATE_KEY` | |
# in repo settings. | |
# ------------------------------------------------------------------------ | |
# - uses: ./subtrees/z_quantum_actions/actions/ssh_setup | |
# with: | |
# ssh_key: ${{ secrets.SSH_PRIVATE_KEY }} | |
- uses: ./subtrees/z_quantum_actions/actions/coverage | |
with: | |
codecov_secret: ${{ secrets.CODECOV_TOKEN }} |