dev #8770
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: Python-package | |
on: | |
push: | |
branches: | |
- master | |
- ci/test | |
# automatically cancel in-progress builds if another commit is pushed | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
env: | |
CMAKE_BUILD_PARALLEL_LEVEL: 4 | |
SKBUILD_STRICT_CONFIG: true | |
jobs: | |
test: | |
name: ${{ matrix.task }} ${{ matrix.method }} (${{ matrix.os }}, Python ${{ matrix.python_version }}) | |
runs-on: ${{ matrix.os }} | |
timeout-minutes: 60 | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- os: macos-13 | |
task: regular | |
python_version: '3.10' | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 1 | |
submodules: false | |
- name: Setup and run tests | |
shell: bash | |
run: | | |
export BUILD_DIRECTORY="$GITHUB_WORKSPACE" | |
export CONDA=${HOME}/miniforge | |
export PATH=${CONDA}/bin:${PATH} | |
$GITHUB_WORKSPACE/.ci/setup.sh || exit 1 |