devops: minor improvements in main.yml
@@ -8,7 +8,7 @@ on:
jobs:
build:
- name: Build and test CellBase
+ name: CellBase Build
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v1
@@ -16,19 +16,19 @@ jobs:
uses: actions/setup-java@v1
with:
java-version: 1.8
- - name: Clone and build java-common-libs
- run: cd ~ && git clone -b develop https://github.com/opencb/java-common-libs.git && cd ~/java-common-libs && mvn -T 2 clean install -DskipTests && cd $GITHUB_WORKSPACE
+# - name: Clone and build java-common-libs
+# run: cd ~ && git clone -b develop https://github.com/opencb/java-common-libs.git && cd ~/java-common-libs && mvn -T 2 clean install -DskipTests && cd $GITHUB_WORKSPACE
+ - name: Maven Build (skip tests)
+ run: mvn -T 2 clean install -DskipTests
- name: Maven Validate
run: mvn validate
- - name: Maven Build (skip tests))
- run: mvn -T 2 clean install -DskipTests
test:
- name: Build and test CellBase
+ name: CellBase Test
runs-on: ubuntu-18.04
needs: build
strategy:
matrix:
- java: ["1.8", "openjdk11"]
+ java: ["1.8"]
mongodb: ["4.0", "4.2"]
steps:
- uses: actions/checkout@v1
@@ -36,8 +36,8 @@ jobs:
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java }}
- - name: Clone and build java-common-libs
- run: cd ~ && git clone -b develop https://github.com/opencb/java-common-libs.git && cd ~/java-common-libs && mvn -T 2 clean install -DskipTests && cd $GITHUB_WORKSPACE
+# - name: Clone and build java-common-libs
+# run: cd ~ && git clone -b develop https://github.com/opencb/java-common-libs.git && cd ~/java-common-libs && mvn -T 2 clean install -DskipTests && cd $GITHUB_WORKSPACE
- name: Launch MongoDB
run: sudo docker run --name mongo -d -p 27017:27017 mongo:${{ matrix.mongodb }}
- name: Build with Maven
@@ -52,8 +52,8 @@ jobs:
uses: actions/setup-java@v1
with:
java-version: 1.8
- - name: Clone and build java-common-libs
- run: cd ~ && git clone -b develop https://github.com/opencb/java-common-libs.git && cd ~/java-common-libs && mvn -T 2 clean install -DskipTests && cd $GITHUB_WORKSPACE
+# - name: Clone and build java-common-libs
+# run: cd ~ && git clone -b develop https://github.com/opencb/java-common-libs.git && cd ~/java-common-libs && mvn -T 2 clean install -DskipTests && cd $GITHUB_WORKSPACE
- name: Build with Maven CLI
run: mvn -T 2 clean install -DskipTests
- name: Deploy to Maven Central respository
