diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index a34d83c..167ed5f 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -8,6 +8,7 @@ # - download binary dependencies from conda name: Tests on: [push, pull_request] +env: jobs: build: @@ -39,23 +40,6 @@ jobs: with: packages: tcsh version: 1.0 - - - name: Configure netmhc-bundle paths - run: | - export NETMHC_BUNDLE_HOME=$PWD/netmhc-bundle - echo "NetMHC-bundle dir:" && ls -l $NETMHC_BUNDLE_HOME - mkdir $PWD/netmhc-bundle-tmp - export NETMHC_BUNDLE_TMPDIR=$PWD/netmhc-bundle-tmp - export PATH=$PATH:$NETMHC_BUNDLE_HOME/bin - - name: Make sure all the netmhc-bundle tools can run - run: | - # make sure netmhc-bundle tools are actually installed - echo `which netMHC` && netMHC -h - echo `which netMHCpan` && netMHCpan -h - echo `which netMHCcons` && netMHCcons -h - echo `which netMHCstab` && netMHCstab -h - echo `which netMHCstabpan` && netMHCstabpan -h - - name: Install dependencies run: | python -m pip install --upgrade pip @@ -72,6 +56,19 @@ jobs: mhcflurry-downloads fetch - name: Run unit tests run: | + # configure netmhc-bundle paths + export NETMHC_BUNDLE_HOME=$PWD/netmhc-bundle + echo "NetMHC-bundle dir:" && ls -l $NETMHC_BUNDLE_HOME + mkdir $PWD/netmhc-bundle-tmp + export NETMHC_BUNDLE_TMPDIR=$PWD/netmhc-bundle-tmp + export PATH=$PATH:$NETMHC_BUNDLE_HOME/bin + + # make sure netmhc-bundle tools are actually installed + echo `which netMHC` && netMHC -h + echo `which netMHCpan` && netMHCpan -h + echo `which netMHCcons` && netMHCcons -h + echo `which netMHCstab` && netMHCstab -h + echo `which netMHCstabpan` && netMHCstabpan -h ./test.sh - name: Publish coverage to Coveralls uses: coverallsapp/github-action@v2.2.3