Skip to content

Commit ac90fad

Browse files
author
Gonzalo Peña-Castellanos
authored
Merge pull request #465 from goanpeca/fix-double-config-apply
Fix double channel config apply and add initial testing
2 parents 5c84a31 + 7fc0a85 commit ac90fad

11 files changed

Lines changed: 1891 additions & 128 deletions

File tree

.github/workflows/tests.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: "Tests"
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- "*"
7+
push:
8+
branches:
9+
- "develop"
10+
- "main"
11+
- "master"
12+
13+
concurrency:
14+
group:
15+
${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
16+
cancel-in-progress: true
17+
18+
permissions:
19+
contents: read
20+
pull-requests: write
21+
22+
jobs:
23+
test:
24+
name: Unit Tests
25+
runs-on: "ubuntu-latest"
26+
timeout-minutes: 10
27+
steps:
28+
- uses: actions/checkout@v6.0.2
29+
- uses: actions/setup-node@v6
30+
with:
31+
node-version: 24
32+
- run: npm ci
33+
- run: npm run test:coverage
34+
- name: Coverage report
35+
if: always() && github.event_name == 'pull_request'
36+
uses: davelosert/vitest-coverage-report-action@v2
37+
- name: Upload coverage report
38+
if: always()
39+
uses: actions/upload-artifact@v7.0.0
40+
with:
41+
name: coverage-report
42+
path: coverage/
43+
retention-days: 14

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
lib/
22
node_modules/
3+
coverage/
34
.DS_Store
45
*.orig
56
.claude/

dist/setup/index.js

Lines changed: 58 additions & 46 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)