From d6351bcfebf6d4028ad30b01efb99394160fcf02 Mon Sep 17 00:00:00 2001 From: Oliver Gugger Date: Wed, 8 Oct 2025 23:41:29 +0200 Subject: [PATCH] GitHub: run integration tests in CI --- .github/workflows/main.yml | 30 ++++++++++++++++++++++++------ 1 file changed, 24 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ed485ce..e270442 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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