Skip to content

Commit

Permalink
Merge branch 'master' into bco-default
Browse files Browse the repository at this point in the history
  • Loading branch information
bentsherman authored Sep 29, 2023
2 parents 66d9cc2 + 99c43ef commit eec8ec3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
strategy:
fail-fast: false
matrix:
java_version: [8, 11]
java_version: [11, 17]

steps:
- name: Environment
Expand All @@ -34,12 +34,7 @@ jobs:
with:
java-version: ${{matrix.java_version}}
architecture: x64

- name: Setup Nextflow
run: |
git clone --depth 1 https://github.com/nextflow-io/nextflow ../nextflow
cd ../nextflow && ./gradlew compile exportClasspath && cd -
echo "includeBuild('../nextflow')" >> settings.gradle
distribution: 'temurin'

- name: Compile
run: ./gradlew assemble
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ class ProvObserverFactoryTest extends Specification {

def 'should return observer' () {
when:
def result = new ProvObserverFactory().create(Mock(Session))
def session = Spy(Session)
def result = new ProvObserverFactory().create(session)
then:
result.size()==1
result[0] instanceof ProvObserver
Expand Down

0 comments on commit eec8ec3

Please sign in to comment.