Skip to content

Commit 6d64318

Browse files
committed
Github actions tests
1 parent 08db55b commit 6d64318

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/workflows/docker-pytest.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@ jobs:
1717
steps:
1818
- uses: actions/checkout@v4
1919

20-
- name: Set up Python ${{ matrix.python-version }}
21-
uses: actions/setup-python@v4
22-
with:
23-
python-version: ${{ matrix.python-version }}
20+
# - name: Set up Python ${{ matrix.python-version }}
21+
# uses: actions/setup-python@v4
22+
# with:
23+
# python-version: ${{ matrix.python-version }}
2424

2525
- name: Build the Docker image
2626
run: |
27-
docker build . --file Dockerfile --tag gtfonow_test:${{ matrix.python-version }}-${{ matrix.linux-distro }} --build-arg PYTHON_VERSION=${{ matrix.python-version }} --build-arg LINUX_DISTRO=${{ matrix.linux-distro }}
27+
docker build . --file Dockerfile --tag gtfonow_test:${{ matrix.python-version }} --build-arg PYTHON_VERSION=${{ matrix.python-version }} --build-arg LINUX_DISTRO=${{ matrix.linux-distro }}
2828
2929
- name: Run tests
3030
run: |
31-
docker run gtfonow_test:${{ matrix.python-version }}-${{ matrix.linux-distro }}
31+
docker run gtfonow_test:${{ matrix.python-version }}

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
ARG LINUX_DISTRO=ubuntu:latest
44
ARG PYTHON_VERSION=3.8
55

6-
FROM ${LINUX_DISTRO}
6+
FROM python:${PYTHON_VERSION}
77
# Set the working directory in the container
88

99
RUN apt-get update -y

0 commit comments

Comments
 (0)