Skip to content

Commit

Permalink
fix java 8 tests, disable examples ci for pull requets
Browse files Browse the repository at this point in the history
  • Loading branch information
xvik committed Dec 9, 2024
1 parent d4420b3 commit 0b25e2a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ jobs:
run: ./gradlew check --no-daemon

- name: Build coverage report
if: github.event_name != 'pull_request'
run: ./gradlew jacocoTestReport --no-daemon

- uses: codecov/codecov-action@v4
Expand All @@ -47,10 +48,12 @@ jobs:

# publish snapshot after successful tests
publish:
if: github.event_name != 'pull_request'
needs: build
uses: ./.github/workflows/publish-snapshot.yml

# run examples with published snapshot
examples:
if: github.event_name != 'pull_request'
needs: publish
uses: ./.github/workflows/examples-CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,13 @@ package ru.vyarus.gradle.plugin.animalsniffer.debug.custom
import org.gradle.testkit.runner.BuildResult
import org.gradle.testkit.runner.TaskOutcome
import ru.vyarus.gradle.plugin.animalsniffer.debug.AbstractDebugKitTest
import spock.lang.IgnoreIf

/**
* @author Vyacheslav Rusakov
* @since 06.12.2024
*/
@IgnoreIf({ !jvm.java17Compatible })
class MultiplatformAndroidNoClasspathDebugKitTest extends AbstractDebugKitTest {

def "Check multiple declared platforms debug (with android)"() {
Expand Down

0 comments on commit 0b25e2a

Please sign in to comment.