Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
ndelangen committed Jun 23, 2023
1 parent ca5dca9 commit 1107520
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
3 changes: 0 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -466,9 +466,6 @@ jobs:
command: yarn upload-bench $(yarn get-template << pipeline.parameters.workflow >> bench)
- report-workflow-on-failure:
template: $(yarn get-template << pipeline.parameters.workflow >> bench)
- store_artifacts: # this is where playwright puts more complex stuff
path: code/bench-results/
destination: bench-results

workflows:
ci:
Expand Down
9 changes: 1 addition & 8 deletions scripts/upload-bench.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
import { copy } from 'fs-extra';
import { join } from 'path';
import { BigQuery } from '@google-cloud/bigquery';

import type { BenchResults } from './bench/types';
import { loadBench } from './bench/utils';
import { SANDBOX_DIRECTORY, CODE_DIRECTORY } from './utils/constants';
import { SANDBOX_DIRECTORY } from './utils/constants';
import { execaCommand } from './utils/exec';

const templateKey = process.argv[2];
Expand Down Expand Up @@ -71,12 +70,6 @@ const uploadBench = async () => {
const appTable = dataset.table('bench2');

await appTable.insert([row]);

// for CI artifacts
await copy(
`${templateSandboxDir}/bench.json`,
`${CODE_DIRECTORY}/bench-results/${templateSandboxDir}.json`
);
};

uploadBench()
Expand Down

0 comments on commit 1107520

Please sign in to comment.