diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index bf23c144..6b0364bc 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -38,6 +38,18 @@ jobs: sudo pkgutil --forget com.xamarin.mono-MDK.pkg sudo rm /etc/paths.d/mono-commands + - if: runner.os == 'Windows' + name: testing variables + run: | + echo "EDGE_USE_CORECLR=1" | Out-File -FilePath $env:GITHUB_ENV -Append + echo "${{ env.EDGE_USE_CORECLR }}" + echo "EDGE_USE_CORECLR=" | Out-File -FilePath $env:GITHUB_ENV -Append + echo "${{ env.EDGE_USE_CORECLR }}" + + - if: ${{ (runner.os == 'Linux') || (runner.os == 'macOS') }} + name: Run tests + run: echo condition + - if: runner.os == 'Windows' name: Install Windows dependencies run: npm i @@ -53,10 +65,14 @@ jobs: run: | npm test echo "EDGE_USE_CORECLR=1" | Out-File -FilePath $env:GITHUB_ENV -Append + echo "${{ env.EDGE_USE_CORECLR }}" npm test - - if: runner.os == 'Linux' - name: Run Linux tests - run: EDGE_USE_CORECLR=1 npm test - - if: runner.os == 'macOS' - name: Run macOS tests + # - if: runner.os == 'Linux' + # name: Run Linux tests + # run: EDGE_USE_CORECLR=1 npm test + # - if: runner.os == 'macOS' + # name: Run macOS tests + # run: EDGE_USE_CORECLR=1 npm test + - if: ${{ (runner.os == 'Linux') || (runner.os == 'macOS') }} + name: Run tests run: EDGE_USE_CORECLR=1 npm test