From f3223bc93c9a28c5b7318c3082420ba7587384e9 Mon Sep 17 00:00:00 2001 From: Nick Evans <2616208+nickevansuk@users.noreply.github.com> Date: Fri, 22 Nov 2024 09:30:38 +0000 Subject: [PATCH] Update docker-test-3.yml --- .github/workflows/docker-test-3.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/docker-test-3.yml b/.github/workflows/docker-test-3.yml index df170a9..67ebaeb 100644 --- a/.github/workflows/docker-test-3.yml +++ b/.github/workflows/docker-test-3.yml @@ -6,6 +6,9 @@ on: jobs: docker-test: runs-on: ubuntu-latest + container: + image: mcr.microsoft.com/dotnet/sdk:3.1 + options: --network-alias booking.system --expose 5001 strategy: fail-fast: false matrix: @@ -16,10 +19,6 @@ jobs: uses: actions/checkout@v2 with: path: server - - name: Setup .NET Core 3.1.419 - uses: actions/setup-dotnet@v1 - with: - dotnet-version: 3.1.419 - name: Install OpenActive.Server.NET dependencies if: ${{ matrix.profile != 'no-auth' && matrix.profile != 'single-seller' }} run: dotnet restore ./server/ @@ -39,7 +38,7 @@ jobs: uses: openactive/openactive-test-suite@master with: NODE_CONFIG: | - {"ci": true, "broker": {"outputPath": "/github/workspace/output/", "datasetSiteUrl": "http://localhost:5001/openactive"}, "integrationTests": { "outputPath": "/github/workspace/output/", "conformanceCertificatePath": "/github/workspace/conformance/examples/${{ matrix.profile }}/${{ matrix.mode }}/", "useRandomOpportunities": ${{ matrix.mode == 'random' }}, "conformanceCertificateId": "https://certificates.reference-implementation.openactive.io/examples/${{ matrix.profile }}/${{ matrix.mode }}/" }} + {"ci": true, "broker": {"outputPath": "/github/workspace/output/", "datasetSiteUrl": "http://booking.system:5001/openactive"}, "integrationTests": { "outputPath": "/github/workspace/output/", "conformanceCertificatePath": "/github/workspace/conformance/examples/${{ matrix.profile }}/${{ matrix.mode }}/", "useRandomOpportunities": ${{ matrix.mode == 'random' }}, "conformanceCertificateId": "https://certificates.reference-implementation.openactive.io/examples/${{ matrix.profile }}/${{ matrix.mode }}/" }} NODE_ENV: .example.${{ matrix.profile }} NODE_APP_INSTANCE: ci