Skip to content

Merge pull request #26 from pavelkraleu/17-implement-docker-for-testing #1

Merge pull request #26 from pavelkraleu/17-implement-docker-for-testing

Merge pull request #26 from pavelkraleu/17-implement-docker-for-testing #1

Workflow file for this run

name: Docker Build and Run
on:
push:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Build Docker Image
run: |
docker build . -t needle-in-a-haystack
- name: Run Docker Container
run: |
docker run --entrypoint pytest -t needle-in-a-haystack