Skip to content

Commit

Permalink
dotnet integrationTest workflow and updated naming for build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
alianides committed Jul 3, 2024
1 parent 96b0a00 commit befadc1
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/run-integrationTests-dotnet.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: test-template-sdk-dotnet
name: test-template-spacefx-client-dotnet
on:
workflow_call:
inputs:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
contents: read
packages: write

uses: microsoft/azure-orbital-space-sdk-github-actions/.github/workflows/service-build.yml@main
uses: microsoft/azure-orbital-space-sdk-github-actions/.github/workflows/python-app-build.yml@main
with:
APP_PROJECT: ./src/spacesdk-client.csproj
NUGET_PROJECT: ./src/spacesdk-client.csproj
Expand All @@ -30,7 +30,7 @@ jobs:
contents: read
packages: write

uses: microsoft/azure-orbital-space-sdk-github-actions/.github/workflows/service-build.yml@main
uses: microsoft/azure-orbital-space-sdk-github-actions/.github/workflows/python-app-build.yml@main
with:
APP_PROJECT: ./src/spacesdk-client.csproj
NUGET_PROJECT: ./src/spacesdk-client.csproj
Expand Down
36 changes: 36 additions & 0 deletions .github/workflows/test-spacefx-client.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: test-spacefx-client
on:
workflow_dispatch:
pull_request:
branches: [ main ]

jobs:
test-spacefx-client-amd64:
permissions:
contents: read
issues: read
checks: write
pull-requests: write

uses: ./.github/workflows/run-integrationTests-dotnet.yaml
with:
WORKFLOW_AGENT: ubuntu-latest
secrets:
GIT_HUB_USER_NAME: ${{ secrets.GIT_HUB_USER_NAME }}
GIT_HUB_USER_TOKEN: ${{ secrets.GIT_HUB_USER_TOKEN }}
SETUP_REPO_URL: ${{ secrets.SETUP_REPO_URL }}

test-spacefx-client-arm64:
permissions:
contents: read
issues: read
checks: write
pull-requests: write

uses: ./.github/workflows/run-integrationTests-dotnet.yaml
with:
WORKFLOW_AGENT: spacesdk-ubuntu-2204LTS-arm64
secrets:
GIT_HUB_USER_NAME: ${{ secrets.GIT_HUB_USER_NAME }}
GIT_HUB_USER_TOKEN: ${{ secrets.GIT_HUB_USER_TOKEN }}
SETUP_REPO_URL: ${{ secrets.SETUP_REPO_URL }}

0 comments on commit befadc1

Please sign in to comment.