-
Notifications
You must be signed in to change notification settings - Fork 0
52 lines (44 loc) · 1.46 KB
/
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
49
50
51
52
name: Sentinel
on:
push:
branches:
- master
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test-suite:
runs-on: ubuntu-latest
strategy:
matrix:
container: ["julienpeloton/fink-ci:latest"]
container:
image: ${{ matrix.container }}
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
steps:
- uses: actions/checkout@v2
- name: Set up env from container variables
run: |
echo "JAVA_HOME=$(dirname $(dirname $(readlink -f $(which java))))" >> $GITHUB_ENV
echo "PYTHONPATH=$SPARK_HOME/python/lib/py4j-0.10.9.7-src.zip:${FINK_HOME}:${PYTHONPATH}" >> $GITHUB_ENV
echo "${BINPATH}" >> $GITHUB_PATH
- name: Download data
run: |
curl https://box.in2p3.fr/s/KFJ2pWDqNB85WNn/download --output ftransfer_ztf_2024-07-24_50931.tar.gz
tar -xvf ftransfer_ztf_2024-07-24_50931.tar.gz
#- name: Install custom fink-science version
# run: |
# # remove fink-science
# pip uninstall -y fink-science
# # change to your branch
# pip install git+https://github.com/astrolabsoftware/fink-science.git@issue/397/profiling
- name: Run profiling on Fink-science
run: |
./profile_module.sh -d ftransfer_ztf_2024-07-24_50931
- name: Archive production artifacts
uses: actions/upload-artifact@v4
with:
name: profiling
path: profiling_all.lprof