Skip to content

Commit 8d65c8c

Browse files
committed
syntax update
1 parent c69d44c commit 8d65c8c

File tree

1 file changed

+6
-13
lines changed

1 file changed

+6
-13
lines changed

.github/workflows/python-package-conda.yml

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,9 @@
11
name: Testing
22

3-
on:
4-
push:
5-
branches:
6-
- '*'
7-
tags:
8-
- 'v*'
9-
pull_request:
10-
branches:
11-
- '*'
12-
schedule:
13-
- cron: "0 13 * * 1"
3+
on: [push, pull_request]
4+
concurrency:
5+
group: ${{ github.workflow }}-${{ github.ref }}
6+
cancel-in-progress: true
147

158
jobs:
169
build-and-test:
@@ -33,7 +26,7 @@ jobs:
3326
- os: macos-15-intel
3427
python-version: "3.12"
3528
mkl-version: "2023"
36-
free-threaded: false
29+
free-threaded:
3730
exclude:
3831
- python-version: "3.11"
3932
free-threaded: true
@@ -55,7 +48,7 @@ jobs:
5548
- name: Create environment
5649
run: |
5750
conda install --quiet --yes -c conda-forge \
58-
${{ matrix.free-threaded && "python-freethreaded" || "python" }}=${{ matrix.python-version }} \
51+
${{ matrix.free-threaded && 'python-freethreaded' || 'python' }}=${{ matrix.python-version }} \
5952
pip numpy scipy cython mkl=${{ matrix.mkl-version }} pytest \
6053
mkl-devel pkg-config meson-python meson ninja setuptools_scm \
6154
${{ matrix.coverage && 'coverage' || ''}} \

0 commit comments

Comments
 (0)