Skip to content

Commit

Permalink
ci: enable benching
Browse files Browse the repository at this point in the history
  • Loading branch information
CMCDragonkai committed Jul 4, 2023
1 parent 182a710 commit 7c9a668
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ build:linux:
- >
nix-shell --arg ci true --run $'
npm test -- --ci --coverage;
npm run bench;
'
artifacts:
when: always
Expand All @@ -149,6 +150,7 @@ build:linux:
coverage_report:
coverage_format: cobertura
path: ./tmp/coverage/cobertura-coverage.xml
metrics: ./benches/results/metrics.txt
coverage: '/All files[^|]*\|[^|]*\s+([\d\.]+)/'
rules:
# Runs on staging commits and ignores version commits
Expand All @@ -169,6 +171,7 @@ build:windows:
- npm install --ignore-scripts
- $env:Path = "$(npm root)\.bin;" + $env:Path
- npm test -- --ci --coverage
- npm run bench
artifacts:
when: always
reports:
Expand All @@ -177,6 +180,7 @@ build:windows:
coverage_report:
coverage_format: cobertura
path: ./tmp/coverage/cobertura-coverage.xml
metrics: ./benches/results/metrics.txt
coverage: '/All files[^|]*\|[^|]*\s+([\d\.]+)/'
rules:
# Runs on staging commits and ignores version commits
Expand All @@ -197,6 +201,7 @@ build:macos:
- npm install --ignore-scripts
- export PATH="$(npm root)/.bin:$PATH"
- npm test -- --ci --coverage
- npm run bench
artifacts:
when: always
reports:
Expand All @@ -205,6 +210,7 @@ build:macos:
coverage_report:
coverage_format: cobertura
path: ./tmp/coverage/cobertura-coverage.xml
metrics: ./benches/results/metrics.txt
coverage: '/All files[^|]*\|[^|]*\s+([\d\.]+)/'
rules:
# Runs on staging commits and ignores version commits
Expand Down

0 comments on commit 7c9a668

Please sign in to comment.