Skip to content

Trying out gha to run tests #9

Trying out gha to run tests

Trying out gha to run tests #9

Workflow file for this run

name: Run Integration Tests
on:
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
services:
docker:
image: docker:latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up .NET Core
uses: actions/setup-dotnet@v2
with:
dotnet-version: |
8.x
9.x
- name: Restore dependencies
run: dotnet restore tests/Aspire.Hosting.Redis.Tests/Aspire.Hosting.Redis.Tests.csproj
- name: Run tests
run: dotnet test tests/Aspire.Hosting.Redis.Tests/Aspire.Hosting.Redis.Tests.csproj --verbosity=detailed --no-restore /p:CI=false