diff --git a/.github/workflows/run.yaml b/.github/workflows/run.yaml index 095f334..028a20b 100644 --- a/.github/workflows/run.yaml +++ b/.github/workflows/run.yaml @@ -85,7 +85,7 @@ jobs: args=(run --config "$CONFIG" --target-version "$TARGET_VERSION" --commit "$COMMIT" --detach) if [ -n "$BENCHMARKS" ]; then args+=(--benchmarks "$BENCHMARKS"); fi npx -y "$PERFKIT" "${args[@]}" | tee start.log - run_id=$(sed -n 's/^run \([0-9TZ-]*\) started;.*/\1/p' start.log) + run_id=$(sed -n 's/^run \([0-9A-Za-z-]*\) started;.*/\1/p' start.log) test -n "$run_id" echo "run-id=$run_id" >> "$GITHUB_OUTPUT" @@ -193,7 +193,7 @@ jobs: npx -y "$PERFKIT" collect "$RUN_ID" | tee collect.log code=${PIPESTATUS[0]} set -e - verdict=$(sed -n 's/^report .*(\(.* benchmarks passed\))$/\1/p' collect.log) + verdict=$(sed -n 's/^report .*(\([0-9]* of [0-9]* benchmarks\{0,1\} passed[^)]*\))$/\1/p' collect.log) echo "verdict=$verdict" >> "$GITHUB_OUTPUT" exit "$code" - uses: actions/upload-artifact@v4 diff --git a/package-lock.json b/package-lock.json index 0b879eb..97db267 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "perfkit", - "version": "0.1.2", + "version": "0.1.3", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "perfkit", - "version": "0.1.2", + "version": "0.1.3", "license": "MIT", "dependencies": { "commander": "^14.0.3", diff --git a/package.json b/package.json index e11ba78..b9f379c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "perfkit", - "version": "0.1.2", + "version": "0.1.3", "description": "Benchmark harness for Fonoster projects: DigitalOcean runs, one report.json schema, one branded report page", "license": "MIT", "author": "Pedro Sanders ",