GitHub: run integration tests in CI

This commit is contained in:
Oliver Gugger 2025-10-08 23:41:29 +02:00
parent 7a16387300
commit d6351bcfeb
No known key found for this signature in database
GPG key ID: 8E4256593F177720

View file

@ -13,9 +13,6 @@ defaults:
shell: bash
env:
# go needs absolute directories, using the $HOME variable doesn't work here.
GOCACHE: /home/runner/work/go/pkg/build
GOPATH: /home/runner/work/go
GO_VERSION: 1.23.9
jobs:
@ -27,7 +24,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: git checkout
uses: actions/checkout@v2
uses: actions/checkout@v5
with:
fetch-depth: 0
@ -42,10 +39,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: git checkout
uses: actions/checkout@v2
uses: actions/checkout@v5
- name: setup go ${{ env.GO_VERSION }}
uses: actions/setup-go@v2
uses: actions/setup-go@v5
with:
go-version: '${{ env.GO_VERSION }}'
@ -54,3 +51,24 @@ jobs:
- name: run unit tests
run: make unit
########################
# run integration tests
########################
integration-test:
name: run integration tests
runs-on: ubuntu-latest
steps:
- name: git checkout
uses: actions/checkout@v5
- name: setup go ${{ env.GO_VERSION }}
uses: actions/setup-go@v5
with:
go-version: '${{ env.GO_VERSION }}'
- name: Install chantools
run: make install
- name: run integration tests
run: make itest