mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-07-03 06:06:09 +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
|
working-directory: freeswitch
|
||||||
run: |
|
run: |
|
||||||
./ci.sh -t scan-build -a validate -c freeswitch -p "$GITHUB_WORKSPACE/freeswitch"
|
./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
|
./collect-test-logs.sh --dir logs --print
|
||||||
|
|
||||||
- name: Upload Unit-Test logs
|
- name: Upload Unit-Test logs
|
||||||
if: always()
|
if: failure()
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: unit-test-logs
|
name: test-results-${{ github.sha }}-${{ github.run_number }}
|
||||||
path: ${{ steps.unit_tests.outputs.logs_path }}
|
path: ${{ steps.unit_tests.outputs.logs_path }}
|
||||||
retention-days: 3
|
retention-days: 3
|
||||||
if-no-files-found: ignore
|
if-no-files-found: ignore
|
||||||
compression-level: 9
|
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: |
|
run: |
|
||||||
test -d "/cores" && ls -lah /cores
|
test -d "/cores" && ls -lah /cores
|
||||||
./collect-test-logs.sh --dir logs --print
|
./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
|
fi
|
||||||
|
|
||||||
echo "*** $log was saved"
|
echo "*** $log was saved"
|
||||||
|
|
||||||
|
exit $exitstatus
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user