Skip to content

Commit

Permalink
Workflow Test 24
Browse files Browse the repository at this point in the history
Testing if permissions block is only on :latest.
  • Loading branch information
YannRDK committed Jun 9, 2023
1 parent 36ead11 commit 6744b18
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/RoboDK-API.yml
Expand Up @@ -50,14 +50,14 @@ jobs:
with:
context: ${{ github.workspace }}/Python/tests
push: true
tags: robodk/robodk:latest
tags: robodk/robodk

- name: Run Tests
if: always()
run: |
docker pull robodk/robodk:latest
docker run -dp 20501:20501 --name robodk -t robodk:latest
docker run --rm --network container:robodk -v ${{ github.workspace }}/Python/tests:/Python/tests robodk/robodk:latest /bin/sh -c "cd /Python/tests && python -m nose2 --config nose2.cfg -v"
docker pull robodk/robodk
docker run -dp 20501:20501 --name robodk -t robodk
docker run --rm --network container:robodk -v ${{ github.workspace }}/Python/tests:/Python/tests robodk/robodk /bin/sh -c "cd /Python/tests && python -m nose2 --config nose2.cfg -v"
docker stop robodk
- name: Upload Test Results
Expand Down

0 comments on commit 6744b18

Please sign in to comment.