19
19
jobs :
20
20
21
21
workspace_container_tests :
22
- runs-on : ubuntu-20 .04
22
+ runs-on : ubuntu-24 .04
23
23
steps :
24
- - uses : actions/checkout@v3
24
+ - uses : actions/checkout@v4
25
25
26
26
- name : Set up Python 3.10
27
- uses : actions/setup-python@v3
27
+ uses : actions/setup-python@v5
28
28
with :
29
29
python-version : " 3.10"
30
30
40
40
sh test/run_tests.sh
41
41
42
42
workspace_deluxe_tests :
43
- runs-on : ubuntu-latest
43
+ runs-on : ubuntu-24.04
44
44
strategy :
45
45
fail-fast : false
46
46
matrix :
@@ -57,18 +57,18 @@ jobs:
57
57
wired_tiger : ' false'
58
58
gradle_test : ' testQuick'
59
59
steps :
60
- - uses : actions/checkout@v3
60
+ - uses : actions/checkout@v4
61
61
62
62
- name : Set up java
63
- uses : actions/setup-java@v3
63
+ uses : actions/setup-java@v4
64
64
with :
65
65
distribution : ' temurin'
66
66
java-version : ${{matrix.java}}
67
67
68
- - name : Set up Python 3.7 # sample service is on 3.7, handle service is on sdkbase2.latest
69
- uses : actions/setup-python@v3
68
+ - name : Set up Python
69
+ uses : actions/setup-python@v5
70
70
with :
71
- python-version : " 3.7 "
71
+ python-version : " 3.9.19 "
72
72
73
73
- name : Install dependencies and set up test config
74
74
shell : bash
@@ -92,23 +92,19 @@ jobs:
92
92
export ARANGO_EXE=$(pwd)/arangodb3-linux-$ARANGODB_VER/bin/arangod
93
93
export ARANGO_JS=$(pwd)/arangodb3-linux-$ARANGODB_VER/usr/share/arangodb3/js/
94
94
95
- # set up handle service
96
- export HS_COMMIT=08e18379817e16db920501b66ba62b66598f506c
97
- export LOG_COMMIT=b549c557e3c519e0a55eadf7863a93db25cd6806
95
+ # set up handle service
96
+ # HS_COMMIT corresponds to Handle Service2 tag v1.0.7
97
+ export HS_COMMIT=335020d26f3663da456be5afee3cb4b8ed8622f4
98
98
git clone https://github.com/kbase/handle_service2.git
99
99
cd handle_service2/
100
100
git checkout $HS_COMMIT
101
- sudo chmod -R 777 .
102
101
cd lib/
103
- mkdir biokbase
104
- cd biokbase/
105
- wget https://raw.githubusercontent.com/kbase/sdkbase2/$LOG_COMMIT/log.py
106
- cd ..
107
102
export HSDIR=`pwd`
108
103
cd ../..
109
104
110
105
# set up sample service
111
- export SAMPLE_COMMIT=6813fb148e95db2b11db6eea04f4d1d45cbb7119
106
+ # SAMPLE_COMMIT corresponds to Sample Service tag v0.2.1
107
+ export SAMPLE_COMMIT=aa0303c4d5d4aa1e3cf0c9ecb36366fb1127f93e
112
108
git clone https://github.com/kbase/sample_service.git
113
109
cd sample_service
114
110
git checkout $SAMPLE_COMMIT
@@ -151,7 +147,7 @@ jobs:
151
147
./gradlew ${{matrix.gradle_test}}
152
148
153
149
- name : Upload coverage to Codecov
154
- uses : codecov/codecov-action@v3
150
+ uses : codecov/codecov-action@v5
155
151
with :
156
152
token : ${{ secrets.CODECOV_TOKEN }}
157
153
fail_ci_if_error : true
0 commit comments