Skip to content

try using the conda package manager #89

try using the conda package manager

try using the conda package manager #89

Workflow file for this run

name: Test Notebooks
on: push
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: test-env
environment-file: environment.yml
python-version: "3.11"
auto-activate-base: false
- name: Install dependencies
run: |
conda env create -f environment.yml
conda activate test-env
while read requirement; do conda install --yes $requirement || pip install $requirement; done < requirements.txt
- name: Run notebook tests
run: |
conda activate test-env
python tests/test_notebooks.py
env:
IONQ_API_KEY: ${{ secrets.IONQ_API_KEY }}