Skip to content

Commit 9afbfa3

Browse files
authored
[PLT-0] Prep Image for CI Tests (#1513)
1 parent 14032ee commit 9afbfa3

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

.github/workflows/release-container.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,4 @@ jobs:
4141
tags: |
4242
${{ env.CONTAINER_IMAGE }}:latest
4343
${{ env.CONTAINER_IMAGE }}:${{ github.event.release.tag_name }}
44+

.github/workflows/testing-container.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,4 @@ jobs:
4242
tags: |
4343
${{ env.CONTAINER_IMAGE }}:develop
4444
${{ env.CONTAINER_IMAGE }}:${{ github.sha }}
45+

Dockerfile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1-
FROM python:3.9-slim-bullseye
1+
#https://stackoverflow.com/questions/77364550/attributeerror-module-pkgutil-has-no-attribute-impimporter-did-you-mean
2+
#https://github.com/pyproj4/pyproj/issues/1321
3+
FROM python:3.8-slim-bullseye
24

3-
RUN pip install pytest=="7.4.4" pytest-cases pytest-rerunfailures pytest-snapshot
5+
RUN pip install pytest=="7.4.4" pytest-cases pytest-rerunfailures pytest-snapshot tox mypy strenum
46
RUN apt-get -y update
57
RUN apt install -y libsm6 \
68
libxext6 \
@@ -17,3 +19,4 @@ RUN pip install -r requirements.txt
1719
COPY . /usr/src/
1820

1921
RUN python setup.py install
22+
CMD tox -e py -- tests/integration tests/data

0 commit comments

Comments
 (0)