Skip to content

Commit 2d47780

Browse files
authored
Merge pull request #66 from common-workflow-language/fix_tests
Fix tests
2 parents aec2384 + 6e0acd8 commit 2d47780

19 files changed

+45
-26
lines changed

.travis.yml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
sudo: false
22
language: python
3-
3+
cache: pip
4+
python:
5+
- 2.7
6+
- 3.4
7+
- 3.5
8+
- 3.6
49
matrix:
510
include:
611
- os: linux
@@ -10,6 +15,17 @@ matrix:
1015
- os: osx
1116
language: generic
1217
python: 2.7
18+
jobs:
19+
include:
20+
- stage: release-test
21+
python: 2.7
22+
script: RELEASE_SKIP=head PYVER=2.7 ./release-test.sh
23+
- python: 3.4
24+
script: RELEASE_SKIP=head PYVER=3 ./release-test.sh
25+
- python: 3.5
26+
script: RELEASE_SKIP=head PYVER=3 ./release-test.sh
27+
- python: 3.6
28+
script: RELEASE_SKIP=head PYVER=3 ./release-test.sh
1329

1430
install:
1531
- pip2 install tox-travis || pip3 install tox-travis

MANIFEST.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
include Makefile gittaggers.py
2-
include tests/*
3-
include tests/test-data/*
2+
include cwltest/tests/*
3+
include cwltest/tests/test-data/*
44
global-exclude *~
55
global-exclude *.pyc
66

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ VERSION=1.0.$(shell date +%Y%m%d%H%M%S --utc --date=`git log --first-parent \
3333
mkfile_dir := $(dir $(abspath $(lastword $(MAKEFILE_LIST))))
3434

3535
## all : default task
36-
all:
36+
all: FORCE
3737
pip install -e .
3838

3939
## help : print this help message and exit
@@ -131,7 +131,7 @@ diff-cover.html: coverage-gcovr.xml coverage.xml
131131
--html-report diff-cover.html
132132

133133
## test : run the ${MODULE} test suite
134-
test: FORCE
134+
test: all
135135
./setup.py test
136136

137137
sloccount.sc: ${PYSOURCES} Makefile
File renamed without changes.

tests/mock_cwl_runner.py renamed to cwltest/tests/mock_cwl_runner.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
ERROR_TOOL = "return-1.cwl"
66

77

8-
def main():
8+
def main(): # type: ()->int
99
parser = argparse.ArgumentParser()
1010
parser.add_argument("processfile")
1111
parser.add_argument("jobfile")
@@ -24,4 +24,4 @@ def main():
2424

2525

2626
if __name__ == "__main__":
27-
main()
27+
main()
File renamed without changes.

0 commit comments

Comments
 (0)