Skip to content

Commit

Permalink
migrate nb modules job.
Browse files Browse the repository at this point in the history
  • Loading branch information
mbien committed Nov 23, 2022
1 parent f774160 commit ea665ad
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 16 deletions.
19 changes: 17 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1046,14 +1046,14 @@ jobs:


harness-modules-test:
name: Test Harness Modules on Linux/JDK ${{ matrix.java }}
name: Harness, NB and Ergonomics on Linux/JDK ${{ matrix.java }}
# equals env.test_platform == 'true'
if: ${{ contains(github.event.pull_request.labels.*.name, 'Platform') || contains(github.event.pull_request.labels.*.name, 'ci:all-tests') || github.event_name != 'pull_request' }}
needs: base-build
runs-on: ubuntu-latest
strategy:
matrix:
java: [ '11' ]
java: [ '8' ]
steps:

- name: Set up JDK ${{ matrix.java }}
Expand Down Expand Up @@ -1089,6 +1089,21 @@ jobs:

- name: ergonomics/ide.ergonomics
run: ant $OPTS -f ergonomics/ide.ergonomics test -Dtest.config=commit

- name: nb/deadlock.detector
run: ant $OPTS -f nb/deadlock.detector test

- name: nb/ide.branding
run: ant $OPTS -f nb/ide.branding test

- name: nb/o.n.upgrader
run: ant $OPTS -f nb/o.n.upgrader test

# - name: nb/updatecenters
# run: ant $OPTS -f nb/updatecenters test

- name: nb/welcome
run: ant $OPTS -f nb/welcome test

- name: Create Test Summary
uses: test-summary/action@v1
Expand Down
14 changes: 0 additions & 14 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,20 +64,6 @@ matrix:
- nbbuild/travis/ant.sh $OPTS build
- nbbuild/travis/ant.sh $OPTS test -Dtest.includes=NoTestsJustBuild

- name: Test nb modules
jdk: openjdk8
env:
- OPTS="-Dmetabuild.jsonurl=https://raw.githubusercontent.com/apache/netbeans-jenkins-lib/master/meta/netbeansrelease.json -quiet -Dcluster.config=minimal -Djavac.compilerargs=-nowarn -Dbuild.compiler.deprecation=false -Dtest-unit-sys-prop.ignore.random.failures=true"
before_script:
- nbbuild/travis/ant.sh $OPTS clean
- nbbuild/travis/ant.sh $OPTS build
script:
- ant $OPTS -f nb/deadlock.detector test
- ant $OPTS -f nb/ide.branding test
- ant $OPTS -f nb/o.n.upgrader test
#- ant $OPTS -f nb/updatecenters test
- ant $OPTS -f nb/welcome test

- name: "Versioning modules (ide/versioning and ide/versioning.core) tests"
jdk: openjdk8
env:
Expand Down

0 comments on commit ea665ad

Please sign in to comment.