Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
alavenant committed Jul 15, 2024
1 parent 0328357 commit 70bea31
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/cicd_docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ env:
IMAGE_NAME: ${{ github.repository }}
REGISTRY: ghcr.io
DOCKER_IMAGE_NAME: pdal_ign_plugin
TEST_TAG: ${{ env.DOCKER_IMAGE_NAME }}:test

jobs:
build_docker_image_and_run_tests:
Expand All @@ -30,12 +31,11 @@ jobs:
uses: docker/build-push-action@v5
with:
load: true
labels: ${{ env.DOCKER_IMAGE_NAME }}
tags: test
tags: ${{ env.TEST_TAG }}

# run the test on the docker build
- name: Run tests in docker image
run: docker run ${{ env.DOCKER_IMAGE_NAME }}:test python -m pytest
run: docker run ${{ env.TEST_TAG }} python -m pytest

# Login against a Docker registry except on PR
# https://github.com/docker/login-action
Expand Down

0 comments on commit 70bea31

Please sign in to comment.