mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-03-14 04:54:49 +00:00
WiP: ToDo
This commit is contained in:
parent
b48192dcc9
commit
873a4a8412
26
.github/workflows/scan-build.yml
vendored
26
.github/workflows/scan-build.yml
vendored
@ -76,3 +76,29 @@ jobs:
|
||||
working-directory: freeswitch
|
||||
run: |
|
||||
./ci.sh -t scan-build -a validate -c freeswitch -p "$GITHUB_WORKSPACE/freeswitch"
|
||||
|
||||
# ToDo: FixMe
|
||||
# - name: Upload Scan-Build logs
|
||||
# if: failure()
|
||||
# uses: actions/upload-artifact@v4
|
||||
# with:
|
||||
# name: scan-build-logs
|
||||
# path: freeswitch
|
||||
# retention-days: 3
|
||||
# if-no-files-found: ignore
|
||||
# compression-level: 9
|
||||
|
||||
# ToDo: TestMe
|
||||
# - name: Notify run tests result to slack
|
||||
# if: |
|
||||
# failure() &&
|
||||
# github.event_name == 'push' &&
|
||||
# (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/v1.10') &&
|
||||
# secrets.SLACK_DEVOPS_CI_CHANNEL != '' &&
|
||||
# secrets.SLACK_WEBHOOK_URL != ''
|
||||
# uses: signalwire/actions-template/.github/actions/slack@main
|
||||
# with:
|
||||
# CHANNEL: ${{ secrets.SLACK_DEVOPS_CI_CHANNEL }}
|
||||
# MESSAGE: Scan-Build ${{ github.repository }} > <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|${{ github.run_id }}>. Static analysis failed.
|
||||
# env:
|
||||
# SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
|
||||
|
19
.github/workflows/unit-test-dind.yml
vendored
19
.github/workflows/unit-test-dind.yml
vendored
@ -79,11 +79,26 @@ jobs:
|
||||
./collect-test-logs.sh --dir logs --print
|
||||
|
||||
- name: Upload Unit-Test logs
|
||||
if: always()
|
||||
if: failure()
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: unit-test-logs
|
||||
name: test-results-${{ github.sha }}-${{ github.run_number }}
|
||||
path: ${{ steps.unit_tests.outputs.logs_path }}
|
||||
retention-days: 3
|
||||
if-no-files-found: ignore
|
||||
compression-level: 9
|
||||
|
||||
# ToDo: TestMe
|
||||
# - name: Notify run tests result to slack
|
||||
# if: |
|
||||
# failure() &&
|
||||
# github.event_name == 'push' &&
|
||||
# (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/v1.10') &&
|
||||
# secrets.SLACK_DEVOPS_CI_CHANNEL != '' &&
|
||||
# secrets.SLACK_WEBHOOK_URL != ''
|
||||
# uses: signalwire/actions-template/.github/actions/slack@main
|
||||
# with:
|
||||
# CHANNEL: ${{ secrets.SLACK_DEVOPS_CI_CHANNEL }}
|
||||
# MESSAGE: Unit-Tests ${{ github.repository }} > <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|${{ github.run_id }}>. Some tests are failing.
|
||||
# env:
|
||||
# SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
|
||||
|
25
.github/workflows/unit-test.yml
vendored
25
.github/workflows/unit-test.yml
vendored
@ -113,3 +113,28 @@ jobs:
|
||||
run: |
|
||||
test -d "/cores" && ls -lah /cores
|
||||
./collect-test-logs.sh --dir logs --print
|
||||
|
||||
- name: Upload Unit-Test logs
|
||||
if: failure()
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: test-results-${{ github.sha }}-${{ github.run_number }}-${{ inputs.current-group }}-of-${{ inputs.total-groups }}
|
||||
path: ${{ inputs.working-directory }}/logs
|
||||
retention-days: 3
|
||||
if-no-files-found: ignore
|
||||
compression-level: 9
|
||||
|
||||
# ToDo: TestMe
|
||||
# - name: Notify run tests result to slack
|
||||
# if: |
|
||||
# failure() &&
|
||||
# github.event_name == 'push' &&
|
||||
# (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/v1.10') &&
|
||||
# secrets.SLACK_DEVOPS_CI_CHANNEL != '' &&
|
||||
# secrets.SLACK_WEBHOOK_URL != ''
|
||||
# uses: signalwire/actions-template/.github/actions/slack@main
|
||||
# with:
|
||||
# CHANNEL: ${{ secrets.SLACK_DEVOPS_CI_CHANNEL }}
|
||||
# MESSAGE: Unit-Tests ${{ github.repository }} > <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|${{ github.run_id }}>. Some tests are failing.
|
||||
# env:
|
||||
# SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
|
||||
|
@ -82,6 +82,8 @@ else
|
||||
fi
|
||||
|
||||
echo "*** $log was saved"
|
||||
|
||||
exit $exitstatus
|
||||
fi
|
||||
|
||||
echo ""
|
||||
|
Loading…
x
Reference in New Issue
Block a user