Just test building the docker image

This commit is contained in:
Paul Gauthier 2023-10-30 09:15:16 -07:00
parent 0beba57a98
commit 3eaa9671be

View file

@ -1,4 +1,4 @@
name: Docker Build and Test
name: Docker Build Test
on:
push:
@ -18,8 +18,4 @@ jobs:
- name: Build Docker image
run: |
docker build -t myapp:latest .
- name: Run tests in Docker container
run: |
docker run myapp:latest python -m unittest discover -s tests
docker build -t myapp:latest . -f docker/Dockerfile