Skip to content

Commit 03e6da4

Browse files
committed
test integration tests
1 parent ebc2e44 commit 03e6da4

File tree

1 file changed

+16
-10
lines changed

1 file changed

+16
-10
lines changed

.github/workflows/ci.yml

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -54,16 +54,6 @@ jobs:
5454
# Use always() to always run this step to publish test results when there are test failures
5555
if: ${{ always() }}
5656

57-
integration-tests:
58-
runs-on: ubuntu-latest
59-
steps:
60-
- name: Checkout repository
61-
uses: actions/checkout@v4
62-
63-
- name: Pull Public Docker Image from GHCR
64-
run: |
65-
docker pull ghcr.io/sage-bionetworks/genie:main
66-
6757

6858
lint:
6959
runs-on: ubuntu-latest
@@ -141,3 +131,19 @@ jobs:
141131
labels: ${{ steps.meta.outputs.labels }}
142132
cache-from: ${{ steps.registry_refs.outputs.tags }},mode=max
143133
cache-to: ${{ steps.registry_refs.outputs.tags }},mode=max
134+
135+
integration-tests:
136+
runs-on: ubuntu-latest
137+
steps:
138+
- name: Checkout repository
139+
uses: actions/checkout@v4
140+
141+
- name: Pull Public Docker Image from GHCR
142+
run: |
143+
docker pull ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.ref_name }}
144+
145+
- name: Run Tests in Docker Container
146+
run: |
147+
docker run --rm ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.ref_name }} \
148+
python bin/input_to_database.py main --project_id syn7208886 --onlyValidate
149+

0 commit comments

Comments
 (0)