Skip to content

Commit fafa49a

Browse files
committed
minor fix
1 parent a6106ca commit fafa49a

File tree

2 files changed

+24
-24
lines changed

2 files changed

+24
-24
lines changed

.github/workflows/CI.yml

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -12,27 +12,27 @@ on:
1212
branches: [main , dev]
1313

1414
jobs:
15+
# build:
16+
# runs-on: ubuntu-latest
17+
# strategy:
18+
# matrix:
19+
# jdk: [ 17 ]
20+
# steps:
21+
# - name: Checkout repo
22+
# uses: actions/checkout@v2
23+
# - name: Set up OpenJDK
24+
# uses: actions/setup-java@v1
25+
# with:
26+
# java-version: ${{ matrix.jdk }}
27+
# - name: Install python
28+
# run: sudo apt install -y python3 python3-setuptools python3-pip
29+
# - name: Update pip
30+
# run: pip3 install --upgrade pip
31+
# - name: Grant execute permission for gradlew
32+
# run: chmod +x gradlew
33+
# - name: Build with Gradle
34+
# run: ./gradlew clean build
1535
build:
16-
runs-on: ubuntu-latest
17-
strategy:
18-
matrix:
19-
jdk: [ 17 ]
20-
steps:
21-
- name: Checkout repo
22-
uses: actions/checkout@v2
23-
- name: Set up OpenJDK
24-
uses: actions/setup-java@v1
25-
with:
26-
java-version: ${{ matrix.jdk }}
27-
- name: Install python
28-
run: sudo apt install -y python3 python3-setuptools python3-pip
29-
- name: Update pip
30-
run: pip3 install --upgrade pip
31-
- name: Grant execute permission for gradlew
32-
run: chmod +x gradlew
33-
- name: Build with Gradle
34-
run: ./gradlew clean build
35-
test:
3636
strategy:
3737
matrix:
3838
os: [ubuntu-latest, windows-latest, macos-latest]
@@ -51,7 +51,7 @@ jobs:
5151
with:
5252
python-version: ${{ matrix.python-version }}
5353
- name: Get Python location
54-
run: python -c "import os, sys; print(os.path.dirname(sys.executable))"
54+
run: python -c "import os, sys; print(sys.executable)"
5555
- name: Update pip
5656
run: python3 -m pip install --upgrade pip
5757
- name: Grant execute permission for gradlew
@@ -60,10 +60,10 @@ jobs:
6060
run: ./gradlew clean
6161
- if: matrix.os == 'windows-latest'
6262
name: Test with Gradle on Windows
63-
run: ./gradlew test -DapplicationProperties="src\test\resources\test-config\application-test-windows.properties"
63+
run: ./gradlew build -DapplicationProperties="src\test\resources\test-config\application-test-windows.properties"
6464
- if: matrix.os != 'windows-latest'
6565
name: Test with Gradle on ${{ matrix.os }}
66-
run: ./gradlew test -DapplicationProperties="src/test/resources/test-config/application-test.properties"
66+
run: ./gradlew build -DapplicationProperties="src/test/resources/test-config/application-test.properties"
6767
- name: Generate report
6868
run: ./gradlew jacocoTestReport
6969
- name: Codecov

src/main/resources/application.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ spring.jpa.hibernate.ddl-auto=update
3333
# Mapping-Service specific settings
3434
##################################################
3535
# Absolute path to the local python interpreter
36-
mapping-service.pythonLocation=file:///usr/bin/python4
36+
mapping-service.pythonLocation=file:///usr/bin/python3
3737

3838
# Absolute path to the local gemma mappings folder
3939
mapping-service.mappingSchemasLocation=file:///tmp/mapping-service/mappingSchemas

0 commit comments

Comments
 (0)