From 1b34ac6041548022dbdf7879d2faeaf45b3cf3db Mon Sep 17 00:00:00 2001 From: Michael Levy Date: Tue, 17 Dec 2024 08:38:09 -0700 Subject: [PATCH] Fix broken workflows Dropped testing from unsupported python versions (3.7 and 3.8, so we only test on 3.9 - 3.11 for now); also added pyyaml to dev-feisty environment since github actions were failing with ModuleNotFoundError: No module named 'yaml' --- .github/workflows/ci.yaml | 2 +- .github/workflows/ci2.yaml | 1 - ci/environment.yml | 1 + 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index ade2212a..5f09aa84 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -21,7 +21,7 @@ jobs: fail-fast: false matrix: os: ['ubuntu-latest'] - python-version: ['3.7', '3.8', '3.9', '3.10', '3.11'] + python-version: ['3.9', '3.10', '3.11'] steps: - uses: actions/checkout@v2 with: diff --git a/.github/workflows/ci2.yaml b/.github/workflows/ci2.yaml index fb1d1518..ac8b4d16 100644 --- a/.github/workflows/ci2.yaml +++ b/.github/workflows/ci2.yaml @@ -16,7 +16,6 @@ jobs: strategy: matrix: os: [ubuntu-latest] - # python-version: [3.8] steps: - uses: actions/checkout@v2 diff --git a/ci/environment.yml b/ci/environment.yml index c103fe87..8078d67f 100644 --- a/ci/environment.yml +++ b/ci/environment.yml @@ -24,6 +24,7 @@ dependencies: - pre-commit - pytest - pytest-cov + - pyyaml - scipy - xarray - zarr