Skip to content

Commit

Permalink
Avoid setup two cluster (#2554)
Browse files Browse the repository at this point in the history
* Avoid setup two cluster.
* Stop cluster when clean up
* Down the cluster.
  • Loading branch information
Shylock-Hg committed Aug 26, 2021
1 parent b325229 commit dc2edaa
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,20 +126,26 @@ jobs:
run: ctest -j $(($(nproc)/2+1)) --timeout 400 --output-on-failure
working-directory: build/
timeout-minutes: 20
- name: Pytest
- name: Setup cluster
run: |
make up
working-directory: tests/
timeout-minutes: 2
- name: Pytest
run: |
make RM_DIR=false DEBUG=false J=${{ steps.cmake.outputs.j }} test
make down
working-directory: tests/
timeout-minutes: 15
- name: TCK
run: |
make up
make RM_DIR=false DEBUG=false J=${{ steps.cmake.outputs.j }} tck
make down
working-directory: tests/
timeout-minutes: 30
- name: Down cluster
run: |
make down
working-directory: tests/
timeout-minutes: 2
- name: Sanitizer
if: ${{ always() }}
run: |
Expand Down

0 comments on commit dc2edaa

Please sign in to comment.