-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #27 from AndreHauschild/devel
Add conversion of SSR to SP3 and Bias-SINEX, automated testing workflow
- Loading branch information
Showing
19 changed files
with
635 additions
and
1,393 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
name: Execute Python Scripts | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
- devel | ||
|
||
jobs: | ||
execute-scripts: | ||
name: Execute Python Scripts | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout cssrlib-data repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: '3.10' | ||
|
||
- name: Install dependencies from cssrlib-data repository | ||
run: pip install -r requirements.txt | ||
|
||
- name: Get branch name | ||
id: get_branch_name | ||
run: echo "branch_name=$(basename $GITHUB_REF)" >> $GITHUB_OUTPUT | ||
|
||
- name: Clone cssrlib repository | ||
run: git clone -b ${{ steps.get_branch_name.outputs.branch_name }} https://github.com/${{ github.actor }}/cssrlib.git | ||
|
||
- name: Install dependencies from cssrlib repository | ||
run: | | ||
cd cssrlib | ||
pip install -r requirements.txt | ||
- name: Execute Python scripts | ||
run: | | ||
export PYTHONPATH="../cssrlib/src:$PYTHONPATH" | ||
cd ./samples | ||
for file in $(find . -name "*.py"); do | ||
if [ "$file" == "./test_ppprtcm.py" ]; then continue; fi | ||
echo "# Execute $file" | ||
echo "#" | ||
python "$file" > /dev/null | ||
echo "# ...done!" | ||
echo "#" | ||
echo | ||
done |
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
ephem | ||
pandas |
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
Oops, something went wrong.