Skip to content

Commit

Permalink
Test Python 3.8 and 3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
lang-m committed Jul 9, 2024
1 parent b722c48 commit e236e48
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/$python-version/g" .github/environment.yml

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

Expand Down

0 comments on commit e236e48

Please sign in to comment.