Skip to content

Commit 86f81c1

Browse files
committed
ci: run coverage report on OS where tests are not ignored
Signed-off-by: Jérôme Benoit <[email protected]>
1 parent 956a156 commit 86f81c1

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
run: deno task bundle
5555

5656
- name: Coverage Report
57-
if: ${{ matrix.os == 'ubuntu-latest' && matrix.deno == 'v2.x' }}
57+
if: ${{ matrix.os == 'macos-latest' && matrix.deno == 'v2.x' }}
5858
run: deno task coverage:report
5959

6060
- name: Check for SonarCloud Token Availability
@@ -68,7 +68,7 @@ jobs:
6868
fi
6969
7070
- name: SonarCloud Code Analysis
71-
if: ${{ steps.sonar-token.outputs.available == 'true' && github.repository == 'poolifier/poolifier-web-worker' && matrix.os == 'ubuntu-latest' && matrix.deno == 'v2.x' }}
71+
if: ${{ steps.sonar-token.outputs.available == 'true' && github.repository == 'poolifier/poolifier-web-worker' && matrix.os == 'macos-latest' && matrix.deno == 'v2.x' }}
7272
uses: sonarsource/[email protected]
7373
env:
7474
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

tests/pools/selection-strategies/selection-strategies.test.mjs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1634,7 +1634,7 @@ describe('Selection strategies test suite', () => {
16341634

16351635
it({
16361636
name: 'Verify WEIGHTED_ROUND_ROBIN strategy can be run in a dynamic pool',
1637-
// ignore: Deno.build.os === 'linux',
1637+
ignore: Deno.build.os === 'linux',
16381638
fn: async () => {
16391639
const pool = new DynamicThreadPool(
16401640
min,
@@ -1723,7 +1723,7 @@ describe('Selection strategies test suite', () => {
17231723
it({
17241724
name:
17251725
'Verify WEIGHTED_ROUND_ROBIN strategy can be run in a dynamic pool with median runtime statistic',
1726-
// ignore: Deno.build.os === 'linux',
1726+
ignore: Deno.build.os === 'linux',
17271727
fn: async () => {
17281728
const pool = new DynamicThreadPool(
17291729
min,
@@ -2072,7 +2072,7 @@ describe('Selection strategies test suite', () => {
20722072
it({
20732073
name:
20742074
'Verify INTERLEAVED_WEIGHTED_ROUND_ROBIN strategy can be run in a dynamic pool',
2075-
// ignore: Deno.build.os === 'linux',
2075+
ignore: Deno.build.os === 'linux',
20762076
fn: async () => {
20772077
const pool = new DynamicThreadPool(
20782078
min,

0 commit comments

Comments
 (0)