fixes #52
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
name: simple-project | |
on: | |
push: | |
branches: | |
- development | |
paths-ignore: | |
- '**.rst' | |
- '**.md' | |
- 'LICENSE' | |
- 'CITATION' | |
jobs: | |
verbose: | |
name: "verbose" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install Jobrunner and Dependencies | |
run: | | |
sudo apt-get update -y && apt-get install -y apt-utils && apt-get upgrade -y | |
sudo apt-get install -y python3 python3-dev python3-pip | |
sudo apt-get install -y python-is-python3 | |
python3 setup.py develop --user | |
export PATH=$PATH:$HOME/.local/bin | |
- name: Run Tests | |
run: | | |
cd tests/Simple-Project | |
jobrunner setup JobObject -V | |
jobrunner submit JobObject -V | |
- name: Verify Output | |
run: | | |
cd tests/Simple-Project/JobObject | |
diff job.setup setupSolution.sh | |
diff job.submit submitSolution.sh | |
diff job.output submitOutput.txt | |
not-verbose: | |
name: "not-verbose" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install Jobrunner and Dependencies | |
run: | | |
sudo apt-get update -y && apt-get install -y apt-utils && apt-get upgrade -y | |
sudo apt-get install -y python3 python3-dev python3-pip | |
sudo apt-get install -y python-is-python3 | |
python3 setup.py develop --user | |
export PATH=$PATH:$HOME/.local/bin | |
- name: Run Tests | |
run: | | |
cd tests/Simple-Project | |
jobrunner setup JobObject | |
jobrunner submit JobObject | |
- name: Verify Output | |
run: | | |
cd tests/Simple-Project/JobObject | |
diff job.setup setupSolution.sh | |
diff job.submit submitSolution.sh | |
diff job.output submitOutput.txt |