Skip to content

Fix PHP sqlsrv compatibility and update golang version across runtime images #138

Fix PHP sqlsrv compatibility and update golang version across runtime images

Fix PHP sqlsrv compatibility and update golang version across runtime images #138

Workflow file for this run

name: Unit Tests
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
unit-tests:
runs-on: ubuntu-latest
name: Run Unit Tests
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
- name: Restore dependencies
run: dotnet restore Oryx.sln
- name: Build solution
run: dotnet build Oryx.sln --no-restore --configuration Release
- name: Run BuildScriptGenerator.Tests
run: dotnet test tests/BuildScriptGenerator.Tests/BuildScriptGenerator.Tests.csproj --no-build --configuration Release --verbosity normal
- name: Run BuildScriptGenerator.Common.Tests
run: dotnet test tests/BuildScriptGenerator.Common.Tests/BuildScriptGenerator.Common.Tests.csproj --no-build --configuration Release --verbosity normal
- name: Run Detector.Tests
run: dotnet test tests/Detector.Tests/Detector.Tests.csproj --no-build --configuration Release --verbosity normal
- name: Run BuildScriptGeneratorCli.Tests
run: dotnet test tests/BuildScriptGeneratorCli.Tests/BuildScriptGeneratorCli.Tests.csproj --no-build --configuration Release --verbosity normal
- name: Run Common.Tests
run: dotnet test tests/Oryx.Common.Tests/Common.Tests.csproj --no-build --configuration Release --verbosity normal
- name: Run BuildServer.Tests
run: dotnet test tests/BuildServer.Tests/BuildServer.Tests.csproj --no-build --configuration Release --verbosity normal