From f79bc56efba399144a48f9d017278006d260ab71 Mon Sep 17 00:00:00 2001 From: Burgholzer Date: Thu, 29 Feb 2024 12:16:35 -0500 Subject: [PATCH] attempt a conda install tester --- .github/workflows/hsp2-conda-install-test-dev.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/hsp2-conda-install-test-dev.yml b/.github/workflows/hsp2-conda-install-test-dev.yml index 6e5a8d03..00a85c3f 100644 --- a/.github/workflows/hsp2-conda-install-test-dev.yml +++ b/.github/workflows/hsp2-conda-install-test-dev.yml @@ -1,4 +1,4 @@ -name: Python dev application +name: Python conda dev application # this is a standard setup copied from # https://docs.github.com/en/enterprise-server@3.10/actions/automating-builds-and-tests/building-and-testing-python on: @@ -27,7 +27,7 @@ jobs: - name: Install hsp2 run: | # install the hsp2 executable using dev environment - conda-develop ./ + $CONDA/bin/conda-develop ./ - name: Lint with flake8 run: | # stop the build if there are Python syntax errors or undefined names @@ -36,7 +36,7 @@ jobs: $CONDA/bin/flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics - name: Test with pytest run: | - conda install pytest + $CONDA/bin/conda install pytest $CONDA/bin/pytest tests/ptest/test_sysexit.py # Add more tests here. Example (note, benchmark takes a long time to run and could crush the free monthly 2,000 minutes during times of high activity) # $CONDA/bin/pytest tests/testcbp/HSP2results/benchmark.py