Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 2 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,10 @@ jobs:
working-directory: ./ReSharper.FSharp
run: dotnet build -p:RunningOnGitHubActions=true

- name: Test ReSharper.FSharp
working-directory: ./ReSharper.FSharp
run: dotnet test --no-build

- name: Build Plugin Frontend
- name: Frontend Tests
working-directory: ./rider-fsharp
if: ${{ success() }} || ${{ failure() }}
run: ./gradlew buildPlugin
run: ./gradlew test "-Prunning.on.github.actions=true"

- name: Stop Gradle Daemon # to collect Gradle cache
working-directory: ./rider-fsharp
Expand Down
8 changes: 7 additions & 1 deletion rider-fsharp/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,13 @@ tasks {
}
val rerunSuccessfulTests = false
outputs.upToDateWhen { !rerunSuccessfulTests }
ignoreFailures = true

val runningOnGithubActions = when (ext.properties["running.on.github.actions"]) {
"true" -> true
else -> false
}
logger.lifecycle("Running on GitHub Actions: $runningOnGithubActions")
ignoreFailures = !runningOnGithubActions
}

create("writeDotNetSdkPathProps") {
Expand Down