Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions .github/workflows/cd-1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,3 +121,35 @@ jobs:

printf '%s\n' "version=$VERSION" >> $GITHUB_OUTPUT
printf '%s\n' "packages=$PACKAGES_JSON" >> $GITHUB_OUTPUT

integration-tests:
needs: validate-source
name: Integration Tests
runs-on: ubuntu-latest
env:
DOTNET_VERSION: ${{ vars.DOTNET_VERSION || '10.0.x' }}
SOLUTION_PATH: ${{ vars.SOLUTION_PATH }}

steps:
- uses: actions/checkout@v4

- name: Setup .NET SDK
uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{ env.DOTNET_VERSION }}

- name: Configure GitHub packages
env:
NUGET_AUTH_TOKEN: ${{ secrets.PUBLISH_PAT }}
run: |
dotnet nuget add source \
"https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json" \
--name github \
--username "${{ github.actor }}" \
--password "$NUGET_AUTH_TOKEN" \
--store-password-in-clear-text

- name: Run integration tests
working-directory: ${{ env.SOLUTION_PATH }}/Integration Tests/
run: |
dotnet test --configuration Release --verbosity normal
Loading