forked from respec/HSPsquared
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- 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.
There are no files selected for viewing
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
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: | ||
|
@@ -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 |