Skip to content

Commit

Permalink
Merge pull request #367 from simpeg/try_fix_tests
Browse files Browse the repository at this point in the history
Try fix tests
  • Loading branch information
kkappler authored Jan 4, 2025
2 parents 91fbc7b + 914998a commit 80ab668
Showing 1 changed file with 19 additions and 28 deletions.
47 changes: 19 additions & 28 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,8 @@ jobs:
echo $CONDA_PREFIX
conda install -c conda-forge pytest pytest-cov certifi">=2017.4.17" pandoc
pip install -r requirements-dev.txt
# pip install git+https://github.com/kujaku11/mt_metadata.git@main
# pip install git+https://github.com/kujaku11/mth5.git@master
# pip install git+https://github.com/MTgeophysics/mtpy-v2.git@main
pip install git+https://github.com/kujaku11/mt_metadata.git@features
pip install git+https://github.com/kujaku11/mth5.git@features
pip install git+https://github.com/MTgeophysics/mtpy-v2.git@main
pip uninstall aurora -y
Expand All @@ -48,34 +47,26 @@ jobs:
echo $CONDA_PREFIX
pip install -e .
echo "Install complete"
echo "Uninstalling mth5"
pip uninstall mth5 -y
echo "Uninstalling mt_metadata"
pip uninstall mt_metadata -y
pip install git+https://github.com/kujaku11/mth5.git@features
echo "Uninstalling mt_metadata (again)"
pip uninstall mt_metadata -y
pip install git+https://github.com/kujaku11/mt_metadata.git@features
conda list
pip freeze
# - name: Install Jupyter and dependencies
# run: |
# pip install jupyter
# pip install ipykernel
# python -m ipykernel install --user --name aurora-test
# # Install any other dependencies you need
#
# - name: Execute Jupyter Notebooks
# run: |
# jupyter nbconvert --to notebook --execute docs/examples/dataset_definition.ipynb
# jupyter nbconvert --to notebook --execute docs/examples/operate_aurora.ipynb
# jupyter nbconvert --to notebook --execute docs/tutorials/pkd_units_check.ipynb
# jupyter nbconvert --to notebook --execute docs/tutorials/pole_zero_fitting/lemi_pole_zero_fitting_example.ipynb
# jupyter nbconvert --to notebook --execute docs/tutorials/processing_configuration.ipynb
# jupyter nbconvert --to notebook --execute docs/tutorials/process_cas04_multiple_station.ipynb
# jupyter nbconvert --to notebook --execute docs/tutorials/synthetic_data_processing.ipynb
# # Replace "notebook.ipynb" with your notebook's filename
- name: Install Jupyter and dependencies
run: |
pip install jupyter
pip install ipykernel
python -m ipykernel install --user --name aurora-test
# Install any other dependencies you need
- name: Execute Jupyter Notebooks
run: |
jupyter nbconvert --to notebook --execute docs/examples/dataset_definition.ipynb
jupyter nbconvert --to notebook --execute docs/examples/operate_aurora.ipynb
jupyter nbconvert --to notebook --execute docs/tutorials/pkd_units_check.ipynb
jupyter nbconvert --to notebook --execute docs/tutorials/pole_zero_fitting/lemi_pole_zero_fitting_example.ipynb
jupyter nbconvert --to notebook --execute docs/tutorials/processing_configuration.ipynb
jupyter nbconvert --to notebook --execute docs/tutorials/process_cas04_multiple_station.ipynb
jupyter nbconvert --to notebook --execute docs/tutorials/synthetic_data_processing.ipynb
# Replace "notebook.ipynb" with your notebook's filename
# - name: Commit changes (if any)
# run: |
Expand Down

0 comments on commit 80ab668

Please sign in to comment.