Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
externl committed Sep 13, 2024
1 parent 93c9a35 commit f424826
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
18 changes: 10 additions & 8 deletions .github/actions/test/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,14 @@ runs:
run: cargo test --manifest-path tools/slicec-cs/Cargo.toml
shell: bash
- name: 🧪 Test
run: dotnet test --blame-hang-timeout 10s
run: dotnet test
shell: bash
- name: Upload hang dumps
uses: actions/upload-artifact@v4
with:
name: hang-dumps-${{ runner.os }}
path: ${{ github.workspace }}/**/*.dmp
if-no-files-found: ignore
if: failure()

# When using --blame-hang-timeout, the following snippet can be used to upload hang dumps
# - name: Upload hang dumps
# uses: actions/upload-artifact@v4
# with:
# name: hang-dumps-${{ runner.os }}
# path: ${{ github.workspace }}/**/*.dmp
# if-no-files-found: ignore
# if: failure()
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ jobs:
shell: bash
- name: Test Templates
uses: ./.github/actions/test-templates
if: runner.os != 'Windows'
- name: Build Examples
uses: ./.github/actions/build-examples
- name: Build DocFX Examples
Expand Down

0 comments on commit f424826

Please sign in to comment.