Skip to content

Commit

Permalink
CI #316 databroker version in test matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
prjemian committed Dec 23, 2023
1 parent 470ed92 commit 8b60e8b
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/conda_unit_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit 8b60e8b

Please sign in to comment.