From 47477501db2fd218ae66e34460262413460d0eda Mon Sep 17 00:00:00 2001 From: Mike Henry <11765982+mikemhenry@users.noreply.github.com> Date: Fri, 15 Sep 2023 08:59:22 -0700 Subject: [PATCH] more cleanup of env (defaults bad) and other CI tweaks --- .github/workflows/CI.yaml | 8 ++++---- devtools/conda-envs/test_env.yaml | 6 +----- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/.github/workflows/CI.yaml b/.github/workflows/CI.yaml index 2554541c..c3ec59ff 100644 --- a/.github/workflows/CI.yaml +++ b/.github/workflows/CI.yaml @@ -78,12 +78,12 @@ jobs: ulimit -a # More info on options: https://github.com/marketplace/actions/provision-with-micromamba - - uses: mamba-org/provision-with-micromamba@main + - uses: mamba-org/setup-micromamba@v1 with: environment-file: devtools/conda-envs/test_env.yaml - environment-name: test - channels: conda-forge,defaults - extra-specs: | + cache-environment: true + cache-downloads: true + create-args: >- python=${{ matrix.python-version }} - name: Install package diff --git a/devtools/conda-envs/test_env.yaml b/devtools/conda-envs/test_env.yaml index 4ee2dd7c..240a1efd 100644 --- a/devtools/conda-envs/test_env.yaml +++ b/devtools/conda-envs/test_env.yaml @@ -1,8 +1,6 @@ name: test channels: - conda-forge - - - defaults dependencies: # Base depends - python @@ -22,7 +20,7 @@ dependencies: - openff-units - pint - # Testing + # Testing - pytest - pytest-cov - codecov @@ -30,7 +28,5 @@ dependencies: - qcportal - requests - # Pip-only installs - pip: - pedantic - # - codecov