Skip to content

ci: Fixed GitHub tests #135

ci: Fixed GitHub tests

ci: Fixed GitHub tests #135

Workflow file for this run

name: build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
services:
docker:
image: docker:dind-rootless
ports:
- 12375:2375
container: mcr.microsoft.com/dotnet/sdk:10.0
env:
TESTCONTAINERS_RYUK_DISABLED: "true"
steps:
- uses: actions/checkout@v6
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build Extensions.slnx --no-restore
- name: Test
run: |
export DOCKER_HOST=tcp://localhost:12375
dotnet test --solution Extensions.slnx --no-build --verbosity normal