Skip to content

Commit

Permalink
Merge pull request #90 from ubermag/update-ci
Browse files Browse the repository at this point in the history
Test Python 3.8 and 3.10
  • Loading branch information
lang-m authored Jul 10, 2024
2 parents b722c48 + ae58019 commit 545fd95
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ channels:
- conda-forge

dependencies:
- python==3.8
- python=PYTHON_VERSION
- pip
- oommf
- pip:
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/workflow-gpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ jobs:
defaults:
run:
shell: bash -i {0}
strategy:
matrix:
python-version: ["3.8", "3.10"]

steps:
- name: Initialisation
Expand All @@ -73,6 +76,10 @@ jobs:
pwd
echo $PATH
which conda
- name: Prepare env file
run: sed -i "s/PYTHON_VERSION/${{ matrix.python-version }}/g" .github/environment.yml

- name: Create conda env
run: conda env create -f ".github/environment.yml"

Expand Down

0 comments on commit 545fd95

Please sign in to comment.