Skip to content

Commit

Permalink
attempt a conda install tester
Browse files Browse the repository at this point in the history
  • Loading branch information
Burgholzer authored and Burgholzer committed Feb 29, 2024
1 parent 45b48db commit f79bc56
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/hsp2-conda-install-test-dev.yml
Original file line number Diff line number Diff line change
@@ -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/[email protected]/actions/automating-builds-and-tests/building-and-testing-python
on:
Expand Down Expand Up @@ -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
Expand All @@ -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

0 comments on commit f79bc56

Please sign in to comment.