Skip to content

Merge branch '2024' of https://github.com/simpeg-research/earthscope-… #104

Merge branch '2024' of https://github.com/simpeg-research/earthscope-…

Merge branch '2024' of https://github.com/simpeg-research/earthscope-… #104

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 .
- name: Run Tests
shell: bash
run: |
source activate em
conda list