update links for colab #93
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
name: Test Notebooks | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
test: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v4 | |
- name: Set up Conda | |
uses: conda-incubator/setup-miniconda@v2 | |
with: | |
activate-environment: myenv | |
environment-file: environment.yml | |
python-version: "3.11" | |
auto-activate-base: false | |
- name: Remove existing environment (if exists) | |
shell: bash -l {0} | |
run: | | |
conda env remove --name myenv || true | |
- name: Install dependencies and run tests | |
shell: bash -l {0} | |
run: | | |
conda env create -f environment.yml | |
conda activate myenv | |
python tests/test_notebooks.py | |
env: | |
IONQ_API_KEY: ${{ secrets.IONQ_API_KEY }} |