Retry container creation. #414
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check pull request | |
on: | |
pull_request: | |
workflow_call: | |
jobs: | |
test-linux: | |
runs-on: ubuntu-24.04 | |
if: ${{ github.event.pull_request.head.repo.fork || github.event.pull_request.title != 'Prepare release' }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 #4.1.14 | |
with: | |
fetch-depth: 0 | |
submodules: 'true' | |
- name: Setup .NET | |
uses: actions/setup-dotnet@6bd8b7f7774af54e05809fcc5431931b3eb1ddee # 4.0.1 | |
with: | |
global-json-file: global.json | |
dotnet-version: 6 | |
- name: Build | |
run: dotnet build -c Release ./${{ github.event.repository.name }}.sln | |
- name: Test | |
run: dotnet test -c Release --no-build --collect:"XPlat Code Coverage;Format=opencover" ./${{ github.event.repository.name }}.sln | |
- name: Collect coverage | |
uses: codecov/codecov-action@e28ff129e5465c2c0dcc6f003fc735cb6ae0c673 # 4.5.0 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
test-windows: | |
runs-on: windows-2022 | |
if: ${{ github.event.pull_request.head.repo.fork || github.event.pull_request.title != 'Prepare release' }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 #4.1.14 | |
with: | |
fetch-depth: 0 | |
submodules: 'true' | |
- name: Setup .NET | |
uses: actions/setup-dotnet@6bd8b7f7774af54e05809fcc5431931b3eb1ddee # 4.0.1 | |
with: | |
global-json-file: global.json | |
dotnet-version: | | |
6 | |
7 | |
- name: Start CosmosDb Emulator | |
uses: janpio/cosmos-emulator-github-action@8c35a1bfde25fc32234c163c044322af3f2e56e3 | |
with: | |
parameter_string: "-Timeout 600 -EnableGremlin" | |
- name: Build | |
run: dotnet build -c Release ./${{ github.event.repository.name }}.sln | |
- name: Test | |
run: dotnet test -c Release --no-build --collect:"XPlat Code Coverage;Format=opencover" ./${{ github.event.repository.name }}.sln | |
- name: Collect coverage | |
uses: codecov/codecov-action@e28ff129e5465c2c0dcc6f003fc735cb6ae0c673 # 4.5.0 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} |