From fedf8addfe2e31ad3211fd7527aa8852e8d069a6 Mon Sep 17 00:00:00 2001 From: Martin Lang Date: Fri, 6 Oct 2023 12:05:03 +0200 Subject: [PATCH] Test on Python 3.8 and 3.10. --- .github/environment.yml | 1 - .github/workflows/workflow.yml | 6 ++++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/environment.yml b/.github/environment.yml index 89392b5..a7d0add 100644 --- a/.github/environment.yml +++ b/.github/environment.yml @@ -4,7 +4,6 @@ channels: - conda-forge dependencies: - - python==3.8 - pip - oommf - pip: diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index a88f3dc..352b3ab 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -18,17 +18,19 @@ jobs: strategy: matrix: os: [ubuntu-latest, macos-latest, windows-latest] + python-version: ["3.8", "3.10"] defaults: run: shell: bash -l {0} steps: - name: Initialisation - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Set up conda - uses: conda-incubator/setup-miniconda@v2 + uses: conda-incubator/setup-miniconda@v4 with: + python-version: ${{ matrix.python-version }} auto-update-conda: true activate-environment: conda-environment environment-file: .github/environment.yml