Skip to content

Run Integration tests on GHA #1

Run Integration tests on GHA

Run Integration tests on GHA #1

Workflow file for this run

name: Tests
on:
push:
pull_request:
permissions:
contents: read
jobs:
test-win-2019:
runs-on: windows-2019
steps:
- name: Install docker CE
shell: pwsh
run: |
Invoke-WebRequest -UseBasicParsing "https://raw.githubusercontent.com/microsoft/Windows-Containers/Main/helpful_tools/Install-DockerCE/install-docker-ce.ps1" -o install-docker-ce.ps1
.\install-docker-ce.ps1
- name: Test docker
run: |
docker version
docker pull hello-world
docker run hello-world
- name: Checkout code
uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: 'stable'
- name: Install Dependencies
run: |
go install github.com/magefile/mage@latest
go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.55.2
- name: Run E2E tests
shell: pwsh
run: mage TestAll