Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 11 additions & 15 deletions .github/workflows/testing_in_conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,28 +15,24 @@ jobs:
fail-fast: false
matrix:
os: ["ubuntu-latest"]
python-version: [3.7, 3.8]
python-version: [3.11]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup Conda
uses: s-weigand/setup-conda@v1
uses: conda-incubator/setup-miniconda@v3
with:
update-conda: true
conda-channels: conda-forge
auto-update-conda: true
activate-environment: 2025-sustech-simpeg
channels: conda-forge
environment-file: environment.yml
python-version: ${{ matrix.python-version }}

- name: Install Env
shell: bash
run: |
python --version
conda env create -f environment.yml
source activate t20-tue-simpeg
pip install -r requirements_dev.txt

- name: Run Tests
shell: bash
run: |
source activate t20-tue-simpeg
conda list
pip install testipynb
pytest .
Loading
Loading