Build docker in CI (#1117)

This commit is contained in:
Gulshan Singh 2022-09-04 17:19:55 -07:00 committed by GitHub
parent 1d9c95d07a
commit 9755a40d7b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 15 additions and 0 deletions

15
.github/workflows/docker.yml vendored Normal file
View File

@ -0,0 +1,15 @@
name: Docker build
on: [push, pull_request]
jobs:
docker:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
- name: Build the Docker image
run: docker-compose build main
- name: Run the tests in Docker
run: docker-compose run main ./tests.sh