Test installation on MacOS #5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test installation on macOS | ||
on: | ||
workflow_dispatch: | ||
jobs: | ||
Python 3.11: | ||
Check failure on line 9 in .github/workflows/test_macos.yaml GitHub Actions / Test installation on macOSInvalid workflow file
|
||
runs-on: macos-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- name: Set up Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: 3.11 | ||
- name: Install micromamba | ||
uses: mamba-org/setup-micromamba@v1 | ||
with: | ||
environment-name: test | ||
condarc: | | ||
channels: | ||
- uibcdf | ||
- conda-forge | ||
- defaults | ||
channel_priority: strict | ||
create-args: >- | ||
python=3.11 | ||
- name: Info conda | ||
shell: bash -l {0} | ||
run: | | ||
micromamba activate test | ||
micromamba info | ||
micromamba list | ||
- name: Test installation | ||
run: | | ||
conda install pyunitwizard -c uibcdf | ||
python -c "import pyunitwizard; print(pyunitwizard.__version__)" |