Skip to content

Docker Network Tests #460

Docker Network Tests

Docker Network Tests #460

name: Docker Network Tests
on:
schedule:
- cron: '0 1 * * *' # Runs every day at 1 AM
workflow_dispatch:
inputs:
testCases:
description: 'Custom test cases to run:'
required: false
default: ""
jobs:
test:
runs-on: self-hosted
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Set up Docker
uses: docker/setup-buildx-action@v3
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
cache: false
- name: Run all tests
run: |
cd tools/docker-network/tests &&
./run_tests.sh ${{ github.event.inputs.testCases }}
- name: Upload logs as artifacts
uses: actions/upload-artifact@v4
if: success() || failure()
with:
name: logs
path: tools/docker-network/tests/logs