Skip to content

Commit

Permalink
updating CI
Browse files Browse the repository at this point in the history
  • Loading branch information
agracio committed Jun 2, 2024
1 parent b6a4620 commit 6f87407
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ jobs:
strategy:
matrix:
# os: [macos-latest, ubuntu-latest, windows-2019]
# node: [21.x, 20.x, 18.x, 16.x]
os: [macos-14]
node: [20, 22]
steps:
Expand All @@ -59,7 +58,7 @@ jobs:
cache-name: cache-node-modules
with:
path: node_modules
key: ${{ runner.os }}-${{ matrix.node }}-${{ hashFiles('package.json') }}
key: ${{ matrix.os }}-${{ matrix.node }}-${{ hashFiles('package.json') }}

# - if: runner.os == 'Windows'
# name: Setup CSC for Windows
Expand All @@ -84,19 +83,19 @@ jobs:
# sudo pkgutil --forget com.xamarin.mono-MDK.pkg
# sudo rm /etc/paths.d/mono-commands

- if: runner.os == 'macOS' && matrix.node == '16.x'
name: Add missing packages for macOS NodeJs 16
run: |
pip install setuptools
# - if: runner.os == 'macOS' && matrix.node == '16.x'
# name: Add missing packages for macOS NodeJs 16
# run: |
# pip install setuptools

- name: npm install
run: npm i
env:
DOTNET_CLI_TELEMETRY_OPTOUT: 1

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

- name: "Run .net core tests"
run: node tools/test.js CI
Expand All @@ -116,7 +115,7 @@ jobs:
uses: phoenix-actions/test-reporting@v15
if: success()
with:
name: build-test-${{ matrix.os }}-node-${{ matrix.node }}
name: test-results-${{ matrix.os }}-node-${{ matrix.node }}
fail-on-error: false
path: mochawesome.json # Path to test results
reporter: mochawesome-json
Expand Down

0 comments on commit 6f87407

Please sign in to comment.