Skip to content

Commit

Permalink
Add ci verification tests (#2)
Browse files Browse the repository at this point in the history
* Update Aspire

* Add verification tests to CI

* Add dependabot config
  • Loading branch information
slang25 authored Oct 17, 2024
1 parent b2660e7 commit da9fccd
Show file tree
Hide file tree
Showing 5 changed files with 40 additions and 2 deletions.
27 changes: 27 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: daily
timezone: Europe/London
- package-ecosystem: nuget
directory: "/"
schedule:
interval: daily
timezone: Europe/London
open-pull-requests-limit: 10
ignore:
- dependency-name: AWSSDK.SimpleNotificationService
versions:
- "> 3.3.100.1, < 3.8"
- dependency-name: AWSSDK.SQS
versions:
- "> 3.3.100.1, < 3.8"
groups:
xunit:
patterns:
- xunit*
aspire:
patterns:
- Aspire.*
7 changes: 7 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,13 @@ jobs:
shell: pwsh
run: ./build.ps1

- name: Run LocalStack Verification Tests
if: runner.os == 'linux'
shell: pwsh
run: |
cd ./tests/LocalSqsSnsMessaging.Tests.Verification
dotnet test -c Release
- uses: codecov/codecov-action@e28ff129e5465c2c0dcc6f003fc735cb6ae0c673 # v4.5.0
name: Upload coverage to Codecov
with:
Expand Down
3 changes: 2 additions & 1 deletion Directory.Packages.props
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<Project>
<ItemGroup>
<PackageVersion Include="Aspire.Hosting.Testing" Version="8.2.1" />
<PackageVersion Include="Aspire.Hosting.AppHost" Version="9.0.0-rc.1.24511.1" />
<PackageVersion Include="Aspire.Hosting.Testing" Version="9.0.0-rc.1.24511.1" />
<PackageVersion Include="AWSSDK.SQS" Version="3.7.400" />
<PackageVersion Include="AWSSDK.SimpleNotificationService" Version="3.7.400" />
<PackageVersion Include="coverlet.msbuild" Version="6.0.2" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<Sdk Name="Aspire.AppHost.Sdk" Version="9.0.0-rc.1.24511.1" />

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
Expand All @@ -9,7 +11,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Aspire.Hosting.AppHost" Version="8.2.1" />
<PackageReference Include="Aspire.Hosting.AppHost" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
using Aspire.Hosting;
using Aspire.Hosting.Testing;

namespace LocalSqsSnsMessaging.Tests.Verification;
Expand Down

0 comments on commit da9fccd

Please sign in to comment.