Skip to content

Light refactoring of the TC attachment code #1754

Light refactoring of the TC attachment code

Light refactoring of the TC attachment code #1754

name: Pull request K8s integration tests
on:
push:
branches: [ 'main', 'release-*' ]
pull_request:
branches: [ 'main', 'release-*' ]
jobs:
test:
name: test
runs-on: ubuntu-latest-8-cores
strategy:
matrix:
go: [ '1.23' ]
steps:
- uses: actions/checkout@v3
with:
lfs: true
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go }}
- name: Clean up disk space
run: |
docker system prune -af
docker volume prune -f
- name: Run integration tests
run: make integration-test-k8s
timeout-minutes: 60
- name: Upload integration test logs
uses: actions/upload-artifact@v4
if: always()
with:
name: K8s test Logs
path: |
testoutput/*.log
testoutput/kind
- name: Report coverage
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
file: ./testoutput/itest-covdata.txt
flags: k8s-integration-test