mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-12-01 10:31:45 +00:00
[ci] Add concurrency to automated tests workflow to cancel outdated runs (#3943)
Add `concurrency` configuration to automatically cancel outdated test runs when new commits are pushed to the same PR/branch. Inspired by [MagicMirrorOrg/MagicMirror-Documentation#335](https://github.com/MagicMirrorOrg/MagicMirror-Documentation/pull/335).
This commit is contained in:
committed by
GitHub
parent
d7348ed765
commit
67fead74b4
4
.github/workflows/automated-tests.yaml
vendored
4
.github/workflows/automated-tests.yaml
vendored
@@ -12,6 +12,10 @@ on:
|
|||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.workflow }}-${{ github.ref }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
code-style-check:
|
code-style-check:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|||||||
@@ -23,6 +23,7 @@ planned for 2026-01-01
|
|||||||
- [calendar] test: remove "Recurring event per timezone" test (#3929)
|
- [calendar] test: remove "Recurring event per timezone" test (#3929)
|
||||||
- [calendar] chore: remove `requiresVersion: "2.1.0"` (#3932)
|
- [calendar] chore: remove `requiresVersion: "2.1.0"` (#3932)
|
||||||
- [tests] migrate from `jest` to `vitest` (#3940, #3941)
|
- [tests] migrate from `jest` to `vitest` (#3940, #3941)
|
||||||
|
- [ci] Add concurrency to automated tests workflow to cancel outdated runs (#3943)
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user