From 8b60e8b8986d1ebed1c8261fc91e4c220885a2ab Mon Sep 17 00:00:00 2001 From: Pete R Jemian Date: Sat, 23 Dec 2023 08:59:49 -0600 Subject: [PATCH] CI #316 databroker version in test matrix --- .github/workflows/conda_unit_test.yml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/conda_unit_test.yml b/.github/workflows/conda_unit_test.yml index e914b1f0..db3d7d41 100644 --- a/.github/workflows/conda_unit_test.yml +++ b/.github/workflows/conda_unit_test.yml @@ -27,25 +27,29 @@ jobs: - "3.9" - "3.10" - "3.11" - max-parallel: 5 + databroker-version: + - "=1.2" + - ">1.3" + max-parallel: 5 steps: - uses: actions/checkout@v4 - - - name: Create Python ${{ matrix.python-version }} environment + + - name: Create Python ${{ matrix.python-version }} Databroker ${{ matrix.databroker-version }} environment uses: mamba-org/setup-micromamba@v1 with: cache-environment: true - cache-environment-key: env-key-${{ matrix.python-version }} + cache-environment-key: env-key-${{ matrix.python-version }}-${{ matrix.databroker-version }} condarc: | channel-priority: flexible environment-file: environment.yml - environment-name: hklpy-test-py-${{ matrix.python-version }} + environment-name: hklpy-test-py-${{ matrix.python-version }}-${{ matrix.databroker-version }} create-args: >- coveralls pytest pytest-cov python=${{ matrix.python-version }} + databroker ${{ matrix.databroker-version }} - name: conda environments shell: bash -l {0}