Skip to content

Commit

Permalink
🚀 Start to test behaviour on podman
Browse files Browse the repository at this point in the history
Reproduce #905
  • Loading branch information
elgohr committed Dec 8, 2023
1 parent 7f99854 commit 8011787
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,19 @@ jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 30
strategy:
matrix:
runtime: [ '/var/run/docker.sock', '/run/user/$UID/podman/podman.sock' ]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: '^1.21'
- name: Test
run: go test -race -timeout 30m -coverprofile=coverage.txt -covermode=atomic ./...
run: |
export DOCKER_HOST="unix://${{ matrix.runtime }}"
echo "Using ${DOCKER_HOST}"
go test -race -timeout 30m -coverprofile=coverage.txt -covermode=atomic ./...
- name: Coverage
uses: codecov/codecov-action@v3
with:
Expand Down

0 comments on commit 8011787

Please sign in to comment.