Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 5 additions & 9 deletions .github/workflows/check-onemath.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ on:
permissions:
contents: read

# Cancel superseded PR runs only; other runs get a unique group and always complete
concurrency:
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.ref || github.run_id }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

env:
# Pinned: Miniforge3 26.9.4-0 fails 'conda init' on Windows runners
miniforge-version: '26.7.2-1'
Expand All @@ -31,10 +36,6 @@ jobs:
build_env_file:
name: Build conda env file

permissions:
# Needed to cancel any previous runs that are not completed for a given workflow
actions: write

strategy:
fail-fast: false
matrix:
Expand All @@ -49,11 +50,6 @@ jobs:
python-install-spec: "python ${{ matrix.python_spec || format('{0}.*', matrix.python) }}"

steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@d07a454dad7609a92316b57b23c9ccfd4f59af66 # 0.13.1
with:
access_token: ${{ github.token }}

- name: Checkout DPNP repo
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/conda-package-cf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@ on:
permissions:
contents: read

# Cancel superseded PR runs only; other runs get a unique group and always complete
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.ref || github.run_id }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

jobs:
linux:
Expand Down
14 changes: 5 additions & 9 deletions .github/workflows/conda-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ on:
permissions:
contents: read

# Cancel superseded PR runs only; other runs get a unique group and always complete
concurrency:
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.ref || github.run_id }}
Comment thread
antonwolfy marked this conversation as resolved.
Resolved
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

env:
# Pinned: Miniforge3 26.9.4-0 fails 'conda init' on Windows runners
miniforge-version: '26.7.2-1'
Expand Down Expand Up @@ -60,10 +65,6 @@ jobs:
# TODO: add free-threaded builds ('3.15.* *_cp315t') once NumPy and
# dpctl cp315t builds are available

permissions:
# Needed to cancel any previous runs that are not completed for a given workflow
actions: write

runs-on: ${{ matrix.os }}
timeout-minutes: 90

Expand All @@ -76,11 +77,6 @@ jobs:
python-conda-spec: ${{ matrix.python_spec || matrix.python }}

steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@d07a454dad7609a92316b57b23c9ccfd4f59af66 # 0.13.1
with:
access_token: ${{ github.token }}

- name: Checkout DPNP repo
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/coverity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@ on:
permissions:
contents: read

concurrency:
group: coverity-${{ github.ref }}
cancel-in-progress: true

env:
COVERITY_PROJECT: IntelPython/dpnp
ONEAPI_ROOT: /opt/intel/oneapi
Expand Down
9 changes: 0 additions & 9 deletions .github/workflows/cron-run-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,6 @@ jobs:
run:
shell: ${{ matrix.runner == 'windows-2022' && 'cmd /C CALL {0}' || 'bash -el {0}' }}

permissions:
# Needed to cancel any previous runs that are not completed for a given workflow
actions: write

strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -68,11 +64,6 @@ jobs:
python-install-spec: "python ${{ matrix.python_spec || format('{0}.*', matrix.python) }}"

steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@d07a454dad7609a92316b57b23c9ccfd4f59af66 # 0.13.1
with:
access_token: ${{ github.token }}

- name: Find the latest tag
id: find_latest_tag
uses: oprypin/find-latest-tag@6957ac556fa6d349727ecabfcaaf9f8e5ee37124 # v1.1.3
Expand Down
14 changes: 5 additions & 9 deletions .github/workflows/generate_coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,18 @@ on:

permissions: read-all

# Cancel superseded PR runs only; other runs get a unique group and always complete
concurrency:
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.ref || github.run_id }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

jobs:
generate-coverage:
name: Generate coverage and push to Coveralls.io

runs-on: ubuntu-latest
timeout-minutes: 180

permissions:
# Needed to cancel any previous runs that are not completed for a given workflow
actions: write

defaults:
run:
shell: bash -el {0}
Expand All @@ -34,11 +35,6 @@ jobs:
dpctl-pkg-txt: 'environments/dpctl_pkg.txt'

steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@d07a454dad7609a92316b57b23c9ccfd4f59af66 # 0.13.1
with:
access_token: ${{ github.token }}

- name: Add Intel repository
if: env.oneapi-pkgs-env == ''
run: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/os-llvm-sycl-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ on:

permissions: read-all

# Only one build at a time per ref; a newer run supersedes an in-progress one.
# Cancel superseded PR runs only; other runs get a unique group and always complete
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.ref || github.run_id }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

jobs:
install-compiler:
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ on:

permissions: read-all

# Cancel superseded PR runs only; other runs get a unique group and always complete
concurrency:
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.ref || github.run_id }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

jobs:
pre-commit:
name: Check
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/zizmor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@ on:

permissions: {}

# Cancel superseded PR runs only; other runs get a unique group and always complete
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.ref || github.run_id }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

jobs:
zizmor:
Expand Down
Loading