Skip to content

Commit

Permalink
test integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rxu17 committed Dec 12, 2024
1 parent ebc2e44 commit 03e6da4
Showing 1 changed file with 16 additions and 10 deletions.
26 changes: 16 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,16 +54,6 @@ jobs:
# Use always() to always run this step to publish test results when there are test failures
if: ${{ always() }}

integration-tests:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Pull Public Docker Image from GHCR
run: |
docker pull ghcr.io/sage-bionetworks/genie:main

lint:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -141,3 +131,19 @@ jobs:
labels: ${{ steps.meta.outputs.labels }}
cache-from: ${{ steps.registry_refs.outputs.tags }},mode=max
cache-to: ${{ steps.registry_refs.outputs.tags }},mode=max

integration-tests:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Pull Public Docker Image from GHCR
run: |
docker pull ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.ref_name }}
- name: Run Tests in Docker Container
run: |
docker run --rm ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.ref_name }} \
python bin/input_to_database.py main --project_id syn7208886 --onlyValidate

0 comments on commit 03e6da4

Please sign in to comment.