-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve assets script and attempt pytest fix
- Loading branch information
1 parent
3ee5efb
commit 17033fc
Showing
5 changed files
with
33 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/usr/bin/bash | ||
# upload: scp v0.15.tar [email protected]:WEB/eko/test-data | ||
|
||
# Server path | ||
URL="https://data.nnpdf.science/eko/test-data/" | ||
# local paths | ||
PYDATADIR="tests/data/" | ||
RUSTDATADIR="crates/dekoder/tests/data/" | ||
|
||
# download from the server | ||
curl -s -C - -o "./${PYDATADIR}v0.13.tar" "${URL}ekov013.tar" | ||
curl -s -C - -o "./${PYDATADIR}v0.14.tar" "${URL}ekov014.tar" | ||
curl -s -C - -o "./${PYDATADIR}v0.15.tar" "${URL}v0.15.tar" | ||
# expose to Rust | ||
if [ ! -f "./${RUSTDATADIR}v0.15.tar" ]; then | ||
ln -s "./../../../../${PYDATADIR}v0.15.tar" "./${RUSTDATADIR}" | ||
fi |