tests: file channel to ease channel testing #17
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Integration Tests | |
on: | |
push: | |
branches: | |
- main | |
- 'support/*' | |
- 'init-integration-tests' # TODO: remove as this is the PR branch | |
pull_request: {} | |
schedule: | |
- cron: '42 23 * * *' | |
jobs: | |
integration-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: stable | |
- name: Run Integration Tests | |
run: ./test.sh | |
working-directory: tests/ | |
- name: Compress Debug Log | |
if: ${{ always() }} | |
run: xz -9 ./tests/tmp/debug.log | |
- name: Upload Debug Log | |
if: ${{ always() }} | |
uses: actions/upload-artifact@v4 | |
with: | |
name: debug.log.xz | |
path: ./tests/tmp/debug.log.xz | |
retention-days: 1 |