Skip to content

Commit

Permalink
add test with sparc output file downloader
Browse files Browse the repository at this point in the history
  • Loading branch information
alchem0x2A committed Sep 28, 2023
1 parent 2b0068a commit a7fb863
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/installation_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@ jobs:
pip install -e ".[test]"
# Download the external psp data
python -m sparc.download_data
- name: Download SPARC output files to SPARC-master
run: |
wget https://github.com/SPARC-X/SPARC/archive/refs/heads/master.zip
unzip master.zip
export SPARC_TESTS_DIR="./SPARC-master/tests"
- name: Test with pytest
run: |
# python -m pytest -svv tests/ --cov=sparc --cov-report=json --cov-report=html
Expand All @@ -46,6 +51,7 @@ jobs:
COVERAGE=`cat coverage.json | jq .totals.percent_covered | xargs printf '%.*f' 0`
echo "Current coverage is $COVERAGE"
echo "COVPERCENT=$COVERAGE" >> $GITHUB_ENV
- name: Lint with flake8
run: |
echo $CONDA_PREFIX
Expand Down

0 comments on commit a7fb863

Please sign in to comment.