-
Notifications
You must be signed in to change notification settings - Fork 39
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 #46 from AndreHauschild/devel
Added workflow for automated testing
- Loading branch information
Showing
10 changed files
with
419,508 additions
and
45 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,39 @@ | ||
name: Execute Python Scripts | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
- devel | ||
|
||
jobs: | ||
execute-scripts: | ||
name: Execute Python Scripts | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout cssrlib repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: '3.10' | ||
|
||
- name: Install dependencies from repository | ||
run: pip install -r requirements.txt | ||
|
||
- name: Install cssrlib from cloned repository | ||
run: pip install . | ||
|
||
- name: Execute Python scripts | ||
run: | | ||
cd ./src/cssrlib/test | ||
for file in $(find . -name "*.py"); do | ||
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,8 @@ | ||
bitstruct | ||
galois | ||
crccheck | ||
notebook | ||
numpy | ||
matplotlib | ||
cartopy | ||
pysolid |
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
6,945 changes: 6,945 additions & 0 deletions
6,945
src/cssrlib/data/COD0MGXFIN_20212650000_01D_01D_OSB.BIA
Large diffs are not rendered by default.
Oops, something went wrong.
34,131 changes: 34,131 additions & 0 deletions
34,131
src/cssrlib/data/COD0MGXFIN_20212650000_01D_05M_ORB.SP3
Large diffs are not rendered by default.
Oops, something went wrong.
377,661 changes: 377,661 additions & 0 deletions
377,661
src/cssrlib/data/COD0MGXFIN_20212650000_01D_30S_CLK.CLK
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
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
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