Skip to content

Integration Tests

Integration Tests #63

Workflow file for this run

name: Integration Tests
# Runs on every pr pushed
# on:
# push:
# branches: [ "main" ]
# pull_request:
# The branches below must be a subset of the branches above
# branches: [ "main" ]
# Runs on schedule at 9am UTC, Monday to Friday everyday
on:
schedule:
- cron: '0 9 * * 1-5'
permissions:
contents: read
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@v4
- name: run integration tests
run: |
make run-smoke-tests
- name: success
if: success()
run: |
curl --location --request POST ${{ secrets.DISCORD_INTEGRATION }} --header 'Content-Type: application/json' --data-raw '{"embeds": [{"title": "Success: ${{ github.run_number }}","url": "${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}","color": 65280}]}'
- name: failure
if: failure()
run: |
curl --location --request POST ${{ secrets.DISCORD_INTEGRATION }} --header 'Content-Type: application/json' --data-raw '{"embeds": [{"title": "Failure: ${{ github.run_number }}","url": "${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}","color": 16711680}]}'