From 8641ba64b85e735f1f08386aac65818d8bfe82c1 Mon Sep 17 00:00:00 2001 From: Patrick Shriwise Date: Thu, 15 Aug 2024 14:33:46 -0500 Subject: [PATCH] Explicitly activate test environment --- .github/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a9c0b51..a896def 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,6 +27,7 @@ jobs: - name: Install OpenMC shell: bash run: | + micromamba activate test-env micromamba install -c conda_forge openmc==0.15.0 - name: Clone OpenMC @@ -35,7 +36,9 @@ jobs: - name: Test examples + shell: bash run: | + micromamba activate test-env OPENMC_EXAMPLES_DIR=$HOME/openmc/examples pytest -v ./test/test_examples.py - name: Setup tmate session