File tree 1 file changed +22
-2
lines changed
1 file changed +22
-2
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name: Test
3
3
on : [push, pull_request]
4
4
5
5
jobs :
6
- test :
6
+ build :
7
7
env :
8
8
# We use these variables to convert between tox and GHA version literals
9
9
py34 : 3.4
42
42
path : .tox
43
43
key : tox-cache-${{ matrix.python-version }}-${{ matrix.package }}-${{ hashFiles('tox.ini', 'dev-requirements.txt') }}
44
44
- name : run tox
45
- run : tox -f ${{ matrix.python-version }}-${{ matrix.package }}
45
+ run : tox -f ${{ matrix.python-version }}-${{ matrix.package }}
46
+ docker-tests :
47
+ env :
48
+ python-version : 3.7
49
+ runs-on : ubuntu-latest
50
+ steps :
51
+ - uses : actions/checkout@v2
52
+ - name : Set up Python ${{ env[python-version] }}
53
+ uses : actions/setup-python@v2
54
+ with :
55
+ python-version : ${{ env[python-version] }}
56
+ - name : Install tox
57
+ run : pip install tox
58
+ - name : Cache tox environment
59
+ # Preserves .tox directory between runs for faster installs
60
+ uses : actions/cache@v2
61
+ with :
62
+ path : .tox
63
+ key : tox-cache-docker-tests-${{ hashFiles('tox.ini', 'dev-requirements.txt') }}
64
+ - name : run tox
65
+ run : tox -e docker-tests
You can’t perform that action at this time.
0 commit comments