Skip to content

Commit

Permalink
Add job to check where bash is
Browse files Browse the repository at this point in the history
  • Loading branch information
nirinchev committed Aug 25, 2021
1 parent fdf89f6 commit 6f18188
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@ name: main
- master
pull_request: null
jobs:
bash-tests:
name: Scratchpad
runs-on: windows-latest
steps:
- name: Where is bash
run: |
where bash
run-tests-netcore:
name: Test .NET
runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -43,10 +50,8 @@ jobs:
include-prerelease: true
- name: Publish Tests/Realm.Tests
run: dotnet publish Tests/Realm.Tests -c Release -f ${{ matrix.targetFramework }} -r ${{ (runner.os == 'macOS' && 'osx-x64') || (runner.os == 'Windows' && 'win-x64') || (runner.os == 'Linux' && 'linux-x64') || '???' }} -p:AdditionalFrameworks=${{ matrix.targetFramework }} -p:RestoreConfigFile=Tests/Test.NuGet.Config -p:UseRealmNupkgsWithVersion=10.3.1-PR-2580.1106 --no-self-contained
shell: bash
- name: Run the tests
run: ./Tests/Realm.Tests/bin/Release/${{ matrix.targetFramework }}/${{ (runner.os == 'macOS' && 'osx-x64') || (runner.os == 'Windows' && 'win-x64') || (runner.os == 'Linux' && 'linux-x64') || '???' }}/Realm.Tests --result=TestResults.xml --labels=After
shell: bash
- name: Publish Unit Test Results
uses: EnricoMi/publish-unit-test-result-action/composite@v1
if: always()
Expand Down

0 comments on commit 6f18188

Please sign in to comment.