Skip to content

Commit

Permalink
chore: run Windows tests on a Linux container (#1456)
Browse files Browse the repository at this point in the history
* chore: run Windows tests on a Linux container

Thanks to WSL, it's possible to install Docker Desktop in the baremetal
host, and for that reason we can run linux containers in the Windows
machine. With that, the docker socket path will be resolved to npipe

* chore: mount Docker socket into the linux container
  • Loading branch information
mdelapenya committed Aug 8, 2023
1 parent 2a844ea commit 59986bb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ jobs:
runs-on: [self-hosted, Windows, X64]
strategy:
fail-fast: false
container:
image: alpine:3.18
volumes:
- //var/run/docker.sock:/var/run/docker.sock
steps:
- name: Create pending status
uses: actions/github-script@0.9.0
Expand Down

0 comments on commit 59986bb

Please sign in to comment.