Skip to content

Commit

Permalink
moving clean up to correct place
Browse files Browse the repository at this point in the history
  • Loading branch information
ialarmedalien committed Sep 6, 2023
1 parent 1a26c54 commit 8ef4bc1
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
matrix:
os: [ubuntu-22.04] #, ubuntu-20.04, ubuntu-18.04]
mongo: ["3.6.13", "3.6.23"]
test_cmd: ["LongTests"] # "test_quick_coverage", "NoLongTests", "LongTests"]
test_cmd: ["LongTests", "NoLongTests", "test_quick_coverage"]

runs-on: ${{ matrix.os }}

Expand Down Expand Up @@ -225,14 +225,6 @@ jobs:
./gradlew "coverage${{matrix.test_cmd}}" --info
fi
- name: clean up
run: |
if [ "${{matrix.test_cmd}}" = "test_quick_coverage" ]; then
ant clean
else
./gradlew clean
fi
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
if: matrix.test_cmd == 'test_quick_coverage'
Expand All @@ -246,3 +238,11 @@ jobs:
name: coverage${{matrix.test_cmd}}-${{matrix.mongo}}.exec
path: build/
if-no-files-found: warn

- name: clean up
run: |
if [ "${{matrix.test_cmd}}" = "test_quick_coverage" ]; then
ant clean
else
./gradlew clean
fi

0 comments on commit 8ef4bc1

Please sign in to comment.