Skip to content

Commit

Permalink
Merge branch 'release-6.1.x'
Browse files Browse the repository at this point in the history
  • Loading branch information
juanfeSanahuja committed May 21, 2024
2 parents 2de3679 + b4c171c commit 8b1829b
Show file tree
Hide file tree
Showing 7 changed files with 62 additions and 8 deletions.
54 changes: 54 additions & 0 deletions .github/workflows/manual-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
name: Manual Junit test the project

on:
workflow_dispatch:
inputs:
branch:
description: 'Opencga branch to run the tests'
default: 'develop'
required: true
fail-never:
type: boolean
description: 'The process executes all tests even if some fail.'
default: false
required: false

jobs:
test:
name: JUnit Test
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.inputs.branch }}
fetch-depth: '0'
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '11'
cache: 'maven'
- name: K8s Tunnel MongoDB
run: |
wget https://dl.k8s.io/release/v1.28.2/bin/linux/amd64/kubectl
chmod +x ./kubectl
echo "${{ secrets.AZURE_KUBE_CONFIG }}" > admin.conf
./kubectl -n cellbase-db port-forward services/cellbase-rs0-svc 27017:27017 --kubeconfig ./admin.conf &
- name: Install dependencies branches
run: |
if [ -f "./.github/workflows/scripts/get_same_branch.sh" ]; then
chmod +x ./.github/workflows/scripts/get_same_branch.sh
./.github/workflows/scripts/get_same_branch.sh ${{ github.ref_name }}
else
echo "./.github/workflows/scripts/get_same_branch.sh does not exist."
fi
- name: Test and Analyze
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: |
FAIL_NEVER=""
if [ "${{ github.event.inputs.fail-never }}" == "true" ]; then
FAIL_NEVER="--fail-never"
fi
mvn install surefire-report:report ${FAIL_NEVER} -Dcheckstyle.skip
2 changes: 1 addition & 1 deletion cellbase-app/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>org.opencb.cellbase</groupId>
<artifactId>cellbase</artifactId>
<version>6.0.0</version>
<version>6.1.0</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion cellbase-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>org.opencb.cellbase</groupId>
<artifactId>cellbase</artifactId>
<version>6.0.0</version>
<version>6.1.0</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion cellbase-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>org.opencb.cellbase</groupId>
<artifactId>cellbase</artifactId>
<version>6.0.0</version>
<version>6.1.0</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion cellbase-lib/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>org.opencb.cellbase</groupId>
<artifactId>cellbase</artifactId>
<version>6.0.0</version>
<version>6.1.0</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion cellbase-server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>org.opencb.cellbase</groupId>
<artifactId>cellbase</artifactId>
<version>6.0.0</version>
<version>6.1.0</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>org.opencb.cellbase</groupId>
<artifactId>cellbase</artifactId>
<version>6.0.0</version>
<version>6.1.0</version>
<packaging>pom</packaging>

<name>CellBase project</name>
Expand All @@ -23,8 +23,8 @@

<properties>
<pycellbase.version>${project.version}</pycellbase.version>
<java-common-libs.version>5.0.0</java-common-libs.version>
<biodata.version>3.0.0</biodata.version>
<java-common-libs.version>5.1.0</java-common-libs.version>
<biodata.version>3.1.0</biodata.version>
<bionetdb.version>0.1.0</bionetdb.version>
<jackson.version>2.11.4</jackson.version>
<jackson-asl.version>1.9.13</jackson-asl.version>
Expand Down

0 comments on commit 8b1829b

Please sign in to comment.