Skip to content

Commit

Permalink
Add benchmark to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
simonepri committed Jun 5, 2022
1 parent d707a8f commit 02668cd
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/test-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
jobs:
test:
runs-on: macos-latest
name: AVA & Codecov
name: AVA & Benchmark & Codecov
strategy:
fail-fast: false
matrix:
Expand All @@ -31,5 +31,7 @@ jobs:
npm list --dev --depth=0
- name: Run tests
run: npm run test
- name: Run benchmark
run: npm run bench
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2
4 changes: 3 additions & 1 deletion .github/workflows/test-ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
jobs:
test:
runs-on: ubuntu-latest
name: AVA & Codecov
name: AVA & Benchmark & Codecov
strategy:
fail-fast: false
matrix:
Expand All @@ -31,5 +31,7 @@ jobs:
npm list --dev --depth=0
- name: Run tests
run: npm run test
- name: Run benchmark
run: npm run bench
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2
4 changes: 3 additions & 1 deletion .github/workflows/test-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
jobs:
test:
runs-on: windows-latest
name: AVA & Codecov
name: AVA & Benchmark & Codecov
strategy:
fail-fast: false
matrix:
Expand All @@ -31,5 +31,7 @@ jobs:
npm list --dev --depth=0
- name: Run tests
run: npm run test
- name: Run benchmark
run: npm run bench
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2

0 comments on commit 02668cd

Please sign in to comment.