-
Notifications
You must be signed in to change notification settings - Fork 22
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
Showing
1 changed file
with
14 additions
and
17 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 |
---|---|---|
|
@@ -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/[email protected] |