Skip to content

feat: Discord integration test nofitications #17

feat: Discord integration test nofitications

feat: Discord integration test nofitications #17

Workflow file for this run

name: "Discord-Issues"
on:
push:
branches: [ "main" ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ "main" ]
jobs:
run_integration_tests:
runs-on: [self-hosted, linux, x64, integration, arc, 12gen]
steps:
- name: Cleanup repo build folder
run: |
ls -la ./
sudo rm -rf ./* || true
sudo rm -rf ./.??* || true
ls -la ./
- name: Checkout code
uses: actions/checkout@v3
- name: run integration tests
run: |
make build-dl
- name: success
if: success()
run: |
curl --location --request POST ${{ secrets.DISCORD_INTEGRATION }} --header 'Content-Type: application/json' --data-raw '{"content": "success: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"}'
- name: failure
if: failure()
run: |
curl --location --request POST ${{ secrets.DISCORD_INTEGRATION }} --header 'Content-Type: application/json' --data-raw '{"content": "failure: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"}'