Skip to content

Commit

Permalink
Add moto[server] test dependency and new cloud-aware test suites to g…
Browse files Browse the repository at this point in the history
…ithub test actions
  • Loading branch information
jameswilburlewis committed Jan 15, 2025
1 parent 924b4f3 commit 4fcefe5
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/pythonpackage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ jobs:
pip install coveralls
pip install basemap
pip install 'mth5>=0.4.9'
pip install 'moto[server]'
python -m pyspedas.projects.mms.tests.setup_tests
if: matrix.os == 'ubuntu-latest'
- name: Install dependencies (Windows)
Expand All @@ -47,6 +48,7 @@ jobs:
pip install coveralls
pip install basemap
pip install 'mth5>=0.4.9'
pip install 'moto[server]'
python -m pyspedas.projects.mms.tests.setup_tests
if: matrix.os == 'windows-latest'
- name: Install dependencies (macOS)
Expand All @@ -62,6 +64,7 @@ jobs:
pip install basemap
pip install 'mth5>=0.4.9'
python -m pyspedas.projects.mms.tests.setup_tests
pip install 'moto[server]'
if: matrix.os == 'macos-latest'
- name: Lint with flake8
run: |
Expand Down Expand Up @@ -117,6 +120,8 @@ jobs:
coverage run -a -m pyspedas.projects.akebono.tests.tests
echo Starting maven tests at `date`
coverage run -a -m pyspedas.projects.maven.tests.tests
echo Starting maven S3 tests at `date`
coverage run -a -m pyspedas.projects.maven.tests.uri_tests
echo Starting ace tests at `date`
coverage run -a -m pyspedas.projects.ace.tests.tests
echo Starting erg tests at `date`
Expand Down Expand Up @@ -156,6 +161,8 @@ jobs:
coverage run -a -m pyspedas.mth5.tests.test_load_fdsn
echo Starting cluster tests at `date`
coverage run -a -m pyspedas.projects.cluster.tests.tests
echo Starting cluster S3 tests at `date`
coverage run -a -m pyspedas.projects.cluster.tests.uri_tests
echo Starting CDAWeb tests at `date`
coverage run -a -m pyspedas.cdagui_tools.tests.tests
echo Starting themis tplot_time tests at `date`
Expand Down Expand Up @@ -224,6 +231,8 @@ jobs:
coverage run -a -m pyspedas.projects.mms.tests.wavpol
echo Starting mms slice2d tests at `date`
coverage run -a -m pyspedas.projects.mms.tests.slice2d
echo Starting mms S3 tests at `date`
coverage run -a -m pyspedas.projects.mms.tests.load_uri_tests
echo "========================================================="
# Show the free disk space on this filesystem
echo "Disk space after MMS tests:"
Expand All @@ -247,6 +256,8 @@ jobs:
coverage run -a -m pyspedas.utilities.tests.time_tests
echo Starting utilities libs_tests tests at `date`
coverage run -a -m pyspedas.utilities.tests.libs_tests
echo Starting utilities S3 tests at `date`
coverage run -a -m pyspedas.utilities.tests.load_uri_tests
echo Starting cotrans tests at `date`
coverage run -a -m pyspedas.cotrans_tools.tests.cotrans
echo Starting cotrans minvar tests at `date`
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/quick_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:
pip install spacepy # required for MMS qcotrans tests
pip install coveralls
pip install 'mth5>=0.4.9'
pip install 'moto[server]'
if: matrix.os == 'ubuntu-latest'
- name: Install dependencies (Windows)
run: |
Expand All @@ -36,6 +37,7 @@ jobs:
pip install spacepy # required for MMS qcotrans tests
pip install coveralls
pip install 'mth5>=0.4.9'
pip install 'moto[server]'
if: matrix.os == 'windows-latest'
- name: Install dependencies (macOS)
run: |
Expand All @@ -44,6 +46,7 @@ jobs:
pip install spacepy # required for MMS qcotrans tests
pip install coveralls
pip install 'mth5>=0.4.9'
pip install 'moto[server]'
if: matrix.os == 'macos-latest'
- name: Lint with flake8
run: |
Expand Down Expand Up @@ -101,6 +104,8 @@ jobs:
coverage run -a -m pyspedas.projects.ace.tests.tests
echo Starting cluster tests at `date`
coverage run -a -m pyspedas.projects.cluster.tests.tests
echo Starting cluster S3 tests at `date`
coverage run -a -m pyspedas.projects.cluster.tests.uri_tests
echo Starting themis tplot_time tests at `date`
coverage run -a -m pyspedas.projects.themis.tests.tests_tplot_time
echo Starting barrel tests at `date`
Expand Down Expand Up @@ -141,6 +146,8 @@ jobs:
coverage run -a -m pyspedas.utilities.tests.download_tests
echo Starting utilities misc tests at `date`
coverage run -a -m pyspedas.utilities.tests.misc_tests
echo Starting utilities URI tests at `date`
coverage run -a -m pyspedas.utilities.tests.download_uri_tests
echo Starting tplot wildcard tests at `date`
coverage run -a -m pyspedas.utilities.tests.tplot_wildcard_tests
echo Starting plotting tests at `date`
Expand Down

0 comments on commit 4fcefe5

Please sign in to comment.