Skip to content

Commit

Permalink
CI #325 caget command comes from conda environment
Browse files Browse the repository at this point in the history
  • Loading branch information
prjemian committed May 12, 2024
1 parent 7a6ba14 commit 43d0795
Showing 1 changed file with 24 additions and 25 deletions.
49 changes: 24 additions & 25 deletions .github/workflows/conda_unit_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,31 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Create Python ${{ matrix.python-version }} environment
uses: mamba-org/setup-micromamba@v1
with:
cache-environment: true
cache-environment-key: env-key-${{ matrix.python-version }}
condarc: |
channel-priority: flexible
environment-file: environment.yml
environment-name: hklpy-test-py-${{ matrix.python-version }}
create-args: >-
coveralls
pytest
pytest-cov
python=${{ matrix.python-version }}
- name: conda environments
shell: bash -l {0}
run: |
conda env list
micromamba env list
python --version
- name: Directories before Docker
run: ls -lAFghrt ~/

- name: Start EPICS IOCs in Docker
run: |
set -vxeuo pipefail
Expand Down Expand Up @@ -73,30 +95,7 @@ jobs:
CMD+="; up.wait_for_connection()"
CMD+="; print(up.get(), pv.get())"
python -c "${CMD}"
- name: Create Python ${{ matrix.python-version }} environment
uses: mamba-org/setup-micromamba@v1
with:
cache-environment: true
cache-environment-key: env-key-${{ matrix.python-version }}
condarc: |
channel-priority: flexible
environment-file: environment.yml
environment-name: hklpy-test-py-${{ matrix.python-version }}
create-args: >-
coveralls
pytest
pytest-cov
python=${{ matrix.python-version }}
- name: conda environments
shell: bash -l {0}
run: |
conda env list
micromamba env list
python --version
- name: Install the hklpy package
shell: bash -l {0}
run: |
Expand Down

0 comments on commit 43d0795

Please sign in to comment.