Skip to content

Commit

Permalink
Run integration tests after unit tests again, skip for Dgraph 21.12.0…
Browse files Browse the repository at this point in the history
… as it is slow
  • Loading branch information
EnricoMi committed Jan 8, 2024
1 parent 3088a41 commit 63519a9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/actions/test-integrate/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,11 +113,13 @@ runs:
shell: bash

- name: Stop Dgraph cluster
if: inputs.dgraph-version != '21.12.0'
run: docker stop ${{ steps.dgraph-small.outputs.docker }}
shell: bash

- name: Start Dgraph cluster (Large)
id: dgraph
if: inputs.dgraph-version != '21.12.0'
run: |
if [[ "${{ inputs.dgraph-version }}" < "21.03.0" ]]
then
Expand Down Expand Up @@ -148,6 +150,7 @@ runs:
shell: bash

- name: Integration Test (Sparse)
if: inputs.dgraph-version != '21.12.0'
env:
SPARK_LOCAL_IP: 127.0.0.1
SPARK_HOME: ${{ steps.params.outputs.home }}/spark
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ jobs:

test-integration:
name: "Test Integration"
needs: build
needs: [test-dgraph, test-spark]
uses: "./.github/workflows/test-integration.yml"

delete_binaries:
Expand Down

0 comments on commit 63519a9

Please sign in to comment.