From 71a6afdbfa319f77c32a7ff42579ebff8c456632 Mon Sep 17 00:00:00 2001 From: Manuel Vogel Date: Tue, 24 Jan 2023 08:26:15 +0100 Subject: [PATCH] fix(ci): add integration test with docker image Signed-off-by: Manuel Vogel --- .github/workflows/ci.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 77d4a712..5cba1f2f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -59,3 +59,28 @@ jobs: uses: golangci/golangci-lint-action@v3 with: version: ${{ env.GOLANGCI_VERSION }} + + integration-tests: + runs-on: ${{ matrix.os }} + strategy: + fail-fast: false + matrix: + os: [ubuntu-latest, windows-latest] + steps: + - name: Checkout + uses: actions/checkout@v3 + with: + repository: BGmi/BGmi + fetch-depth: 0 # all history + path: BGmi + ref: v2.2.18 + - name: Test setup + run: | + docker version + docker info + pwd + ls -lash + - name: Test docker images of git-chglog + run: | + cd $GITHUB_WORKSPACE/BGmi + docker run -v $(pwd):/workdir quay.io/git-chglog/git-chglog:0.15.2