Skip to content

Commit

Permalink
fix(ci): add integration test with docker image
Browse files Browse the repository at this point in the history
Signed-off-by: Manuel Vogel <mavogel@posteo.de>
  • Loading branch information
mavogel committed Jan 24, 2023
1 parent f608376 commit 71a6afd
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 71a6afd

Please sign in to comment.