Skip to content

Commit

Permalink
chore: stop running benchmarks on CI (too unstable)
Browse files Browse the repository at this point in the history
Signed-off-by: Jakub Freisler <jakub@frsource.org>
  • Loading branch information
FRSgit committed Dec 7, 2022
1 parent a0022bf commit 9b5f06f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 47 deletions.
46 changes: 0 additions & 46 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,52 +23,6 @@ jobs:
run: yarn --prefer-offline --pure-lockfile
- name: Unit tests & coverage
run: yarn test
benchmark-glob:
name: Benchmark test - glob
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
- name: remove git auth
run: git config --unset http.https://github.com/.extraheader
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- name: Configure Yarn cache
uses: actions/cache@v3
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('./yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn
- name: Install dependencies
run: yarn --prefer-offline --pure-lockfile
- name: Benchmark test - glob
timeout-minutes: 30
run: yarn test:benchmark:glob
benchmark-string:
name: Benchmark test - string
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
- name: remove git auth
run: git config --unset http.https://github.com/.extraheader
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- name: Configure Yarn cache
uses: actions/cache@v3
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('./yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn
- name: Install dependencies
run: yarn --prefer-offline --pure-lockfile
- name: Benchmark test - string
timeout-minutes: 30
run: yarn test:benchmark:string
lint:
name: lint
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"javascript"
],
"scripts": {
"prerelease": "yarn standard:fix && yarn test && yarn test:benchmark",
"prerelease": "yarn standard:fix && yarn test",
"release": "standard-version",
"postrelease": "git push --follow-tags origin master && yarn publish",
"pretest": "standard",
Expand Down

0 comments on commit 9b5f06f

Please sign in to comment.