Run tests as separate jobs #55
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: "Build conda packages" | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: | |
- main | |
workflow_dispatch: | |
env: | |
FORCE_COLOR: "1" # Make tools pretty. | |
PYTHONUNBUFFERED: "1" # Keep stdout and stderr nice and tidy | |
permissions: | |
contents: read # This is required for actions/checkout | |
jobs: | |
# Always build & verify package. | |
build-package: | |
name: Build & verify package | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: | |
- ubuntu-latest | |
- macos-latest | |
- macos-14 | |
- windows-latest | |
steps: | |
- name: "Checkout Repository 🛎" | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: "Check conda builds 📦" | |
uses: jaimergp/conda-build-action@main | |
with: | |
artifact-name: 'conda-packages-${{ matrix.os }}' |