Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into devkelley/add_azure_c…
Browse files Browse the repository at this point in the history
…loud_connector_container
  • Loading branch information
devkelley committed Dec 6, 2023
2 parents 2d85ca0 + 97b8207 commit 25f75ec
Show file tree
Hide file tree
Showing 17 changed files with 253 additions and 147 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/dotnet-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,19 @@ on:
branches:
- main

env:
DOTNET_VERSION: 6.0.119

jobs:
static_code_analysis:
runs-on: ubuntu-20.04
steps:
- name: Checkout repository and submodules
uses: actions/checkout@v3
- name: Install .NET 6.0.119
- name: Install .NET ${{ env.DOTNET_VERSION }}
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.119
dotnet-version: ${{ env.DOTNET_VERSION }}
global-json-file: cloud_connectors/azure/digital_twins_connector/global.json
- name: Cache NuGet dependencies
uses: actions/cache@v3
Expand All @@ -30,7 +33,9 @@ jobs:
- name: Build Digital Twins Connector
run: ./cloud_connectors/azure/digital_twins_connector/build.sh
- name: Build MQTT Connector's Azure Function
run: dotnet build cloud_connectors/azure/mqtt_connector/azure_function/src/function.csproj
run: |
dotnet build cloud_connectors/azure/mqtt_connector/azure_function/src/function.csproj -warnaserror
dotnet build cloud_connectors/azure/mqtt_connector/azure_function/tests/MQTTConnectorAzureFunction.Tests.csproj -warnaserror
- name: Digital Twins Connector Tests
run: dotnet test cloud_connectors/azure/digital_twins_connector/tests/**/*.csproj
- name: MQTT Connector's Azure Function Tests
Expand Down
Loading

0 comments on commit 25f75ec

Please sign in to comment.