fix(ci): Don't skip Coverage job unconditionally
pls ;)
This commit is contained in:
parent
0e0b0dd086
commit
8412674f49
1 changed files with 13 additions and 1 deletions
14
.github/workflows/server-mariadb-tests.yml
vendored
14
.github/workflows/server-mariadb-tests.yml
vendored
|
|
@ -131,17 +131,29 @@ jobs:
|
|||
COVERALLS_SERVICE_NAME: ${{ github.event_name == 'pull_request' && 'github' || 'github-actions' }}
|
||||
COVERALLS_PARALLEL: true
|
||||
|
||||
- run: echo ${{ steps.check-build.outputs.build }} > guess-the-fruit.txt
|
||||
- uses: actions/upload-artifact@v1
|
||||
with:
|
||||
name: fruit
|
||||
path: guess-the-fruit.txt
|
||||
|
||||
coveralls:
|
||||
name: Coverage Wrap Up
|
||||
needs: test
|
||||
if: ${{ needs.test.steps.check-build.build == 'strawberry' }}
|
||||
container: python:3-slim
|
||||
runs-on: ubuntu-18.04
|
||||
steps:
|
||||
- uses: actions/download-artifact@v1
|
||||
with:
|
||||
name: fruit
|
||||
- run: echo "WILDCARD=$(cat fruit/guess-the-fruit.txt)" >> $GITHUB_ENV
|
||||
|
||||
- name: Clone
|
||||
if: ${{ env.WILDCARD == 'strawberry' }}
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Coveralls Finished
|
||||
if: ${{ env.WILDCARD == 'strawberry' }}
|
||||
run: |
|
||||
cd ${GITHUB_WORKSPACE}
|
||||
pip3 install coverage==5.5
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue