Update 07a_make_mth5_from_phoenix_from_client.ipynb #168
This file contains hidden or 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
name: TestingInConda | |
on: | |
push: | |
branches: | |
- '*' | |
pull_request: | |
branches: | |
- '*' | |
jobs: | |
setup-build: | |
name: Ex1 (${{ matrix.python-version }}, ${{ matrix.os }}) | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: ["ubuntu-latest"] | |
python-version: [3.10.0, 3.11] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Conda | |
uses: s-weigand/setup-conda@v1 | |
with: | |
update-conda: true | |
conda-channels: conda-forge | |
python-version: ${{ matrix.python-version }} | |
- name: Install Env | |
shell: bash | |
run: | | |
python --version | |
conda env create -f environment.yml | |
source activate em | |
git clone https://github.com/simpeg/pydiso.git | |
cd pydiso | |
pip install -e . | |
cd .. | |
git clone https://github.com/MTgeophysics/mtpy-v2.git | |
cd mtpy-v2 | |
git checkout -f updates | |
pip install -e . | |
git clone https://github.com/MTgeophysics/mtpy_data.git | |
cd mtpy_data | |
pip install -e . | |
cd .. | |
- name: Run Tests | |
shell: bash | |
run: | | |
source activate em | |
conda list |