Skip to content

Commit

Permalink
Merge pull request #28 from lgarrison/fix-py36-gh-tests
Browse files Browse the repository at this point in the history
Fix Python 3.6 GitHub tests
  • Loading branch information
njcarriero authored Nov 23, 2022
2 parents 2eb7efc + 79bf9f0 commit abee403
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: Run basic tests
name: Tests

on: [push]

jobs:
test:

runs-on: ubuntu-latest
runs-on: ubuntu-20.04
strategy:
matrix:
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11"]
Expand Down
2 changes: 2 additions & 0 deletions Readme.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
Distributed processing of a batch of tasks.
===========================================

[![Tests](https://github.com/flatironinstitute/disBatch/actions/workflows/tests.yaml/badge.svg)](https://github.com/flatironinstitute/disBatch/actions/workflows/tests.yaml)

## TL;DR

Create a file `Tasks`:
Expand Down
2 changes: 1 addition & 1 deletion tests/test_slurm/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ salloc -n 2 disBatch Tasks
[[ -f A.txt && -f B.txt && -f C.txt ]]
success=$?

cd -
cd - > /dev/null

if [[ $success -eq 0 ]]; then
echo "Slurm test passed."
Expand Down
2 changes: 1 addition & 1 deletion tests/test_ssh/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ disBatch -s localhost:2 Tasks
[[ -f A.txt && -f B.txt && -f C.txt ]]
success=$?

cd -
cd - > /dev/null

if [[ $success -eq 0 ]]; then
echo "SSH test passed."
Expand Down

0 comments on commit abee403

Please sign in to comment.