Skip to content

Commit

Permalink
change PATH next to test command
Browse files Browse the repository at this point in the history
  • Loading branch information
iskandr committed Mar 13, 2024
1 parent 27a34ad commit 630a5bf
Showing 1 changed file with 14 additions and 17 deletions.
31 changes: 14 additions & 17 deletions .github/workflows/tests.yml
Expand Up @@ -8,6 +8,7 @@
# - download binary dependencies from conda
name: Tests
on: [push, pull_request]
env:

jobs:
build:
Expand Down Expand Up @@ -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
Expand All @@ -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

0 comments on commit 630a5bf

Please sign in to comment.