File tree Expand file tree Collapse file tree 2 files changed +18
-5
lines changed
Expand file tree Collapse file tree 2 files changed +18
-5
lines changed Original file line number Diff line number Diff line change 11name : Run Unit Test via Pytest
22
3- on : [push]
3+ on :
4+ pull_request :
5+ branches : [ "**" ]
6+ push :
7+ branches : [ "**" ]
8+ tags : ' *'
49permissions :
510 # needed to allow actions to create and delete old caches
611 actions : write
712 contents : read
813 # pull-requests: write # not needed for the moment but may be useful to create bots that comment the PR
9- env :
10- data_encrypt : ${{ secrets.data_encrypt }}
14+ # env:
15+ # data_encrypt: ${{ secrets.data_encrypt }}
1116
1217jobs :
1318 build :
6671 mkdir -p dataDownload/
6772 fileId=1SUMYw1jfQClnfv_gP0izBD8MsHNc8V5P
6873 pip install gdown
69- gdown https://drive.google.com/uc?id=$fileId -O dataDownload/data.tar.gz.gpg
70- gpg -d --pinentry-mode=loopback --passphrase "$data_encrypt" dataDownload/data.tar.gz.gpg > dataDownload/data.tar.gz
74+ gdown https://drive.google.com/uc?id=$fileId -O dataDownload/data.tar.gz
7175 tar -xzf dataDownload/data.tar.gz -C dataDownload/
76+ # run: |
77+ # rm -rf dataDownload
78+ # mkdir -p dataDownload/
79+ # fileId=1SUMYw1jfQClnfv_gP0izBD8MsHNc8V5P
80+ # pip install gdown
81+ # gdown https://drive.google.com/uc?id=$fileId -O dataDownload/data.tar.gz.gpg
82+ # gpg -d --pinentry-mode=loopback --passphrase "$data_encrypt" dataDownload/data.tar.gz.gpg > dataDownload/data.tar.gz
83+ # tar -xzf dataDownload/data.tar.gz -C dataDownload/
7284 - name : Run tests
7385 run : |
7486 source .venv/bin/activate
Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ docs/generated/
2020docs /notebooks /
2121docs /MBM_logo.png
2222
23+ # Local data folder
2324.data /
2425
2526regions /Switzerland /models /**
You can’t perform that action at this time.
0 commit comments