-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Rafał Drozda
committed
Oct 26, 2024
1 parent
e1dd5ab
commit 189bb45
Showing
5 changed files
with
3,320 additions
and
3,362 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
name: Test and Release | ||
|
||
# Run this job on all pushes and pull requests | ||
# as well as tags with a semantic version | ||
on: | ||
push: | ||
branches: | ||
- "*" | ||
tags: | ||
# normal versions | ||
- "v[0-9]+.[0-9]+.[0-9]+" | ||
# pre-releases | ||
- "v[0-9]+.[0-9]+.[0-9]+-**" | ||
pull_request: {} | ||
|
||
# Cancel previous PR/branch runs when a new commit is pushed | ||
concurrency: | ||
group: ${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
# Performs quick checks before the expensive test runs | ||
check-and-lint: | ||
if: contains(github.event.head_commit.message, '[skip ci]') == false | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: ioBroker/testing-action-check@v1 | ||
with: | ||
node-version: '16.x' | ||
# Uncomment the following line if your adapter cannot be installed using 'npm ci' | ||
# install-command: 'npm install' | ||
lint: true | ||
|
||
# Runs adapter tests on all supported node versions and OSes | ||
adapter-tests: | ||
if: contains(github.event.head_commit.message, '[skip ci]') == false | ||
|
||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
node-version: [16.x, 18.x, 20.x, 22.X] | ||
os: [ubuntu-latest, windows-latest, macos-latest] | ||
|
||
steps: | ||
- uses: ioBroker/testing-action-adapter@v1 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
os: ${{ matrix.os }} | ||
# Uncomment the following line if your adapter cannot be installed using 'npm ci' | ||
# install-command: 'npm install' |
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
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
Oops, something went wrong.