switch to miniforge variant #129
Workflow file for this run
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 | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
concurrency: | |
group: test-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
test-windows-executable-build: | |
name: Build Windows Executable | |
uses: ./.github/workflows/build-windows-exe.yml | |
test-create-windows-installer: | |
name: Create Windows Installer | |
needs: test-windows-executable-build | |
uses: ./.github/workflows/create-windows-installer.yml | |
test-linux-executable-build: | |
name: Build Linux Executable | |
uses: ./.github/workflows/build-linux-exe.yml | |
test-macos-executable-build: | |
name: Build MacOS Executable | |
uses: ./.github/workflows/build-macos-exe.yml | |
test-conda: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
python: ["3.9", "3.10", "3.11", "3.12"] | |
os: ["ubuntu-latest", "macos-latest", "windows-latest"] | |
source: ["conda", "pip"] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Conda Environment | |
uses: conda-incubator/setup-miniconda@v3 | |
with: | |
python-version: "${{ matrix.python }}" | |
- name: Install Dependencies | |
shell: bash -l {0} | |
run: | | |
conda env update --quiet -n test -f environment.yml | |
conda list | |
if: ${{ matrix.source == 'conda' }} | |
- name: Install Autotag-Metadata (conda) | |
shell: bash -l {0} | |
run: | | |
pip install --no-dependencies . | |
if: ${{ matrix.source == 'conda' }} | |
- name: Install Autotag-Metadata (pip) | |
shell: bash -l {0} | |
run: | | |
pip install . | |
if: ${{ matrix.source == 'pip' }} | |
# - name: Doctest | |
# shell: bash -l {0} | |
# run: | | |
# pytest --doctest-modules autotag_metadata | |
# if: ${{ matrix.source == 'conda' }} | |
# - name: Byexample | |
# shell: bash -l {0} | |
# run: | | |
# conda install -y byexample | |
# byexample -l shell,python -o +norm-ws --timeout=30 README.md | |
# # byexample is not available for Windows | |
# # the exact numerical output of commands differs between Linux & macOS | |
# if: ${{ matrix.os == 'ubuntu-latest' && matrix.source == 'conda' }} |