Skip to content

Commit

Permalink
Try to reduce sketchiness of workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
H0R5E committed Dec 3, 2024
1 parent 92f13b4 commit 2588416
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,13 @@ jobs:
- name: Action | Get release commit sha
id: sha
run: echo "SHA=$(git rev-parse HEAD)" >> $GITHUB_OUTPUT
- run: echo ${{ steps.sha.outputs.SHA }}
- run: |
echo "released: ${{ steps.release.outputs.released }}"
echo "sha: ${{ steps.sha.outputs.SHA }}"
package:
needs: [release]
if: needs.release.outputs.released
if: needs.release.outputs.released == 'true'
strategy:
fail-fast: false
matrix:
Expand Down
12 changes: 9 additions & 3 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,10 @@ jobs:
fluxbox > /dev/null 2>&1 &
sleep 5
- name: Test
run: ./bin/tests
uses: Wandalen/wretry.action@master
with:
command: ./bin/tests
attempt_limit: 3
env:
ESPEAK_DATA_PATH: ./vendor/src/espeak-ng/espeak-ng-data
coverage:
Expand Down Expand Up @@ -104,8 +107,11 @@ jobs:
fluxbox > /dev/null 2>&1 &
sleep 5
- name: Build XML report
run: poetry run cmake --build . --config Debug -t coverage-xml
working-directory: build
uses: Wandalen/wretry.action@master
with:
command: poetry run cmake --build . --config Debug -t coverage-xml
attempt_limit: 3
current_path: build
- uses: codecov/codecov-action@v4
if: ${{ !env.ACT }}
with:
Expand Down

0 comments on commit 2588416

Please sign in to comment.