Skip to content

fix: ava --serial

fix: ava --serial #131

Workflow file for this run

name: Run Test
on:
push:
branches:
- '**'
pull_request:
jobs:
ubuntu:
strategy:
matrix:
test: [
# "10 10 50 50",
# "10 10 100 100",
# "10 10 200 200",
# "100 10 50 50",
# "100 10 100 100",
# "100 10 200 200",
"10 5 0 0",
# "10 10 0 100",
# "10 10 0 200",
# "100 10 0 50",
# "100 10 0 100",
# "100 10 0 200",
# "10 10 50 0",
# "10 10 100 0",
# "10 10 200 0",
# "100 10 50 0",
# "100 10 100 0",
# "100 10 200 0",
]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
# - name: Collect Workflow Telemetry
# uses: konpeki622/[email protected]
- name: Install
run: |
# Install dependencies
npm install pnpm -g
pnpm install --no-frozen-lockfile
# Install hyperfine
wget https://github.com/sharkdp/hyperfine/releases/download/v1.17.0/hyperfine_1.17.0_amd64.deb
sudo dpkg -i hyperfine_1.17.0_amd64.deb
- name: Prepare test
run: |
node ./testCaseFactory/createCase.js ${{ matrix.test }}
- name: Run test
run: |
pnpm run test:ben-linux
windows:
strategy:
matrix:
test: [
# "10 10 50 50",
# "10 10 100 100",
# "10 10 200 200",
# "100 10 50 50",
# "100 10 100 100",
# "100 10 200 200",
# "10 10 0 50",
# "10 10 0 100",
# "10 10 0 200",
# "100 10 0 50",
# "100 10 0 100",
# "100 10 0 200",
"10 5 0 0",
# "10 10 100 0",
# "10 10 200 0",
# "100 10 50 0",
# "100 10 100 0",
# "100 10 200 0",
]
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
# - name: Collect Workflow Telemetry
# uses: konpeki622/[email protected]
- name: Install
run: |
# Install dependencies
npm install pnpm -g
pnpm install --no-frozen-lockfile
- name: Prepare test
run: |
node ./testCaseFactory/createCase.js ${{ matrix.test }}
- name: Run test
run: |
pnpm run test:ben-windows