-
Notifications
You must be signed in to change notification settings - Fork 17
48 lines (38 loc) · 1.09 KB
/
run_test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
name: Sentinel
on:
push:
branches:
- master
pull_request:
jobs:
test-suite:
runs-on: ubuntu-latest
strategy:
matrix:
container: ["julienpeloton/fink-ci:latest"]
container:
image: ${{ matrix.container }}
steps:
- uses: actions/checkout@v2
- name: Set up env [1/2]
run: |
echo "FINK_SCIENCE=$GITHUB_WORKSPACE" >> $GITHUB_ENV
echo "ROCKS_CACHE_DIR=no-cache" >> $GITHUB_ENV
echo "JAVA_HOME=$(dirname $(dirname $(readlink -f $(which java))))" >> $GITHUB_ENV
echo "${BINPATH}" >> $GITHUB_PATH
- name: Set up env [2/2]
run: |
echo "PYTHONPATH="${PYTHONPATH}:${SPARKLIB}:${FINK_SCIENCE}"" >> $GITHUB_ENV
- name: Check env
run: |
echo "FINK_SCIENCE: $FINK_SCIENCE"
echo "SPARK_HOME: $SPARK_HOME"
echo "SPARKLIB: $SPARKLIB"
echo "PYTHONPATH: $PYTHONPATH"
echo "JAVA_HOME: $JAVA_HOME"
echo `python -V`
- name: Run test suites
run: |
rm -f /tmp/forest_*.onnx
./run_tests.sh
curl -s https://codecov.io/bash | bash