Skip to content

Commit

Permalink
testing CI
Browse files Browse the repository at this point in the history
  • Loading branch information
agracio committed Jun 2, 2024
1 parent 983512a commit b6a4620
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,13 @@ env:
jobs:
build-test:
runs-on: ${{ matrix.os }}
name: build-test-${{ matrix.os }}-node-${{ matrix.node }}
strategy:
matrix:
# os: [macos-latest, ubuntu-latest, windows-2019]
# node: [21.x, 20.x, 18.x, 16.x]
os: [macos-14]
node: [20.x, 22.x]
node: [20, 22]
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down Expand Up @@ -90,9 +91,11 @@ jobs:
- name: npm install
run: npm i
env:
DOTNET_CLI_TELEMETRY_OPTOUT: 1

- if: runner.os == 'Windows'
name: Run .NET 4.x tests
name: Run .NET 4.5 tests
run: node tools/test.js CI

- name: "Run .net core tests"
Expand All @@ -104,6 +107,7 @@ jobs:
uses: actions/upload-artifact@v4.3.3
if: success()
with:
name: ${{ matrix.os }}-${{ matrix.node }}
path: |
test-results.xml
mochawesome.json
Expand All @@ -112,8 +116,8 @@ jobs:
uses: phoenix-actions/test-reporting@v15
if: success()
with:
name: test-results (${{ matrix.os }}, ${{ matrix.node }})
name: build-test-${{ matrix.os }}-node-${{ matrix.node }}
fail-on-error: false
path: mochawesome.json # Path to test results
reporter: mochawesome-json
fail-on-error: false

0 comments on commit b6a4620

Please sign in to comment.