Skip to content

updated IGRF 2023 in Simulator.fitline (#64) #166

updated IGRF 2023 in Simulator.fitline (#64)

updated IGRF 2023 in Simulator.fitline (#64) #166

Workflow file for this run

name: Testing
on:
push:
branches:
- '*'
pull_request:
branches:
- '*'
jobs:
setup-build:
name: Ex1 (${{ matrix.python-version }}, ${{ matrix.os }}, ${{ matrix.test-file }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: ["ubuntu-latest"]
python-version: [3.7, "3.10"]
test-file: ["tests/test_dcip.py", "tests/test_em.py", "tests/test_gpr.py tests/test_seismic.py", "tests/test_inversion.py", "tests/test_gravity.py tests/test_mag.py"]
steps:
- uses: actions/checkout@v2
- uses: mamba-org/setup-micromamba@v1
with:
environment-file: environment-dev.yml
init-shell: >-
bash
powershell
create-args: >-
python=${{ matrix.python-version }}
cache-environment: true
post-cleanup: 'all'
- name: Run Tests
shell: micromamba-shell {0}
run: |
pip install -e . --no-deps
pytest ${{ matrix.test-file }} -v