Skip to content

Commit

Permalink
Update cicd_docker.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
alavenant authored Jul 10, 2024
1 parent 145cf62 commit 74e8efc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/cicd_docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ jobs:
- name: Checkout branch
uses: actions/checkout@v4

# build and test image docker
- name: Build docker image
run: docker build -t ${{ env.DOCKER_IMAGE_NAME }}:test
- name: Run tests in docker image
run: docker run ${{ env.DOCKER_IMAGE_NAME }}:test python -m pytest

# Login against a Docker registry except on PR
# https://github.com/docker/login-action
- name: Log into registry ${{ env.REGISTRY }}
Expand Down

0 comments on commit 74e8efc

Please sign in to comment.