-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Yngve S. Kristiansen
committed
Oct 18, 2023
1 parent
8b51d0b
commit 651dbbb
Showing
4 changed files
with
38 additions
and
12 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,4 +22,34 @@ jobs: | |
run: git clone https://${{ secrets.DEPENDENCY_ACCESS_TOKEN }}@github.com/equinor/spinningjenny.git | ||
|
||
- name: "DL Everest" | ||
run: git clone https://${{ secrets.DEPENDENCY_ACCESS_TOKEN }}@github.com/equinor/everest.git | ||
run: git clone https://${{ secrets.DEPENDENCY_ACCESS_TOKEN }}@github.com/equinor/everest.git | ||
|
||
- name: "Clear CWD" | ||
run: | | ||
rm -rf everest | ||
rm -rf seba | ||
rm -rf spinningjenny | ||
- name: "DL Seba from docker" | ||
uses: docker://quay.io/pypa/manylinux2014_x86_64 | ||
env: | ||
DEPENDENCY_ACCESS_TOKEN: ${{ secrets.DEPENDENCY_ACCESS_TOKEN }} | ||
with: | ||
entrypoint: /bin/bash | ||
args: '-c "git clone https://[email protected]/TNO-Everest/seba.git"' | ||
|
||
- name: "DL spinningjenny from docker" | ||
uses: docker://quay.io/pypa/manylinux2014_x86_64 | ||
env: | ||
DEPENDENCY_ACCESS_TOKEN: ${{ secrets.DEPENDENCY_ACCESS_TOKEN }} | ||
with: | ||
entrypoint: /bin/bash | ||
args: '-c "git clone https://[email protected]/equinor/spinningjenny.git"' | ||
|
||
- name: "DL Everest from docker" | ||
uses: docker://quay.io/pypa/manylinux2014_x86_64 | ||
env: | ||
DEPENDENCY_ACCESS_TOKEN: ${{ secrets.DEPENDENCY_ACCESS_TOKEN }} | ||
with: | ||
entrypoint: /bin/bash | ||
args: '-c "git clone https://[email protected]/equinor/everest.git"' |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ touch /github/workspace/trace/test_everest.log | |
wheel_path=$(find dist/ -name "carolina*.whl") | ||
pip install $wheel_path | ||
pip install pytest | ||
pytest tests/ &> /github/workspace/trace/test_carolina.log | ||
pytest ./tests/ &> /github/workspace/trace/test_carolina.log | ||
|
||
cd /tmp | ||
mkdir everdeps && cd everdeps | ||
|
@@ -27,7 +27,7 @@ echo "Done" | |
cd .. | ||
|
||
echo "Pulling SpinningJenny from git .." | ||
git clone https//:$DEPENDENCY_ACCESS_TOKEN@github.com/equinor/spinningjenny.git | ||
git clone https://$DEPENDENCY_ACCESS_TOKEN@github.com/equinor/spinningjenny.git | ||
cd spinningjenny | ||
|
||
echo "Building SpinningJenny .." | ||
|
@@ -39,7 +39,7 @@ git clone https://[email protected]/equinor/everest.git | |
cd everest | ||
echo "Installing everest..." | ||
pip install -e . | ||
pip install -r test_requirements.txt | ||
pip install -r requirements.txt | ||
|
||
echo "Running everest tests..." | ||
python -m pytest tests &> /github/workspace/trace/test_everest.log | ||
pytest -n auto ./tests &> /github/workspace/trace/test_everest.log |