Skip to content

Commit ab26ed8

Browse files
Update pytest.yml
1 parent bf33240 commit ab26ed8

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/pytest.yml

+3-4
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ on:
66
push:
77
branches: [ master, production, itrb-test, dev ]
88
paths:
9-
- '/.github/**'
109
- 'code/**'
1110
- 'DockerBuild/**'
1211
- 'requirements.txt'
@@ -44,7 +43,7 @@ jobs:
4443
4544
4645
- name: Download databases into CICD instance
47-
# continue-on-error: true
46+
continue-on-error: true
4847
run: |
4948
cd /home/ubuntu/RTX
5049
git checkout ${GITHUB_REF#refs/heads/}
@@ -61,11 +60,11 @@ jobs:
6160

6261
- name: Clean up any left over containers
6362
continue-on-error: true
64-
run: docker container prune -f
63+
run: sudo docker rm $(sudo docker ps -aq)
6564

6665
- name: Clean up any left over images
6766
continue-on-error: true
68-
run: docker image prune -f
67+
run: sudo docker rmi $(sudo docker images -q)
6968

7069
- name: Build docker image
7170
run: sudo docker build --no-cache=true --rm -t rtx:test DockerBuild/ -f DockerBuild/CICD-Dockerfile

0 commit comments

Comments
 (0)