Skip to content

Commit 6dbed39

Browse files
committed
Add Python 3.8 to docker-compose-based tests
1 parent 8f78557 commit 6dbed39

File tree

3 files changed

+16
-2
lines changed

3 files changed

+16
-2
lines changed

docker-compose.yml

+11-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ services:
44

55
unit-tests-3-6:
66
build:
7-
context: test
7+
context: .
88
dockerfile: test/Dockerfile_3.6
99
volumes:
1010
- .:/undictify
@@ -13,9 +13,18 @@ services:
1313

1414
unit-tests-3-7:
1515
build:
16-
context: test
16+
context: .
1717
dockerfile: test/Dockerfile_3.7
1818
volumes:
1919
- .:/undictify
2020
working_dir: /undictify
2121
entrypoint: ./test/install_from_local_and_run_code_checks_3_7_and_up.sh
22+
23+
unit-tests-3-8:
24+
build:
25+
context: .
26+
dockerfile: test/Dockerfile_3.8
27+
volumes:
28+
- .:/undictify
29+
working_dir: /undictify
30+
entrypoint: ./test/install_from_local_and_run_code_checks_3_7_and_up.sh

test/Dockerfile_3.8

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
FROM python:3.8
2+
3+
RUN pip3 install --upgrade pip
4+
RUN pip3 install pylint mypy

test/install_from_local.sh

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/usr/bin/env bash
22
set -e
33

4+
pip3 install --upgrade pip
45
pip3 install .

0 commit comments

Comments
 (0)