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,25 +0,0 @@
name: Docker Build and Test
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v3
- 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