Skip to content

Commit

Permalink
chore
Browse files Browse the repository at this point in the history
  • Loading branch information
opeolluwa committed Aug 9, 2023
1 parent ab797c9 commit 3ce4cd9
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 17 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/deno.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,11 @@ jobs:

- name: Run tests
run: deno test -A

build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-22.04, macos-12, windows-2022 ]
steps:
- run: deno test --allow-all --coverage cov/
5 changes: 0 additions & 5 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,2 @@
{
"workbench.colorCustomizations": {
"activityBar.background": "#2F2E23",
"titleBar.activeBackground": "#424031",
"titleBar.activeForeground": "#FBFBFA"
}
}
9 changes: 0 additions & 9 deletions main_bench.ts
Original file line number Diff line number Diff line change
@@ -1,9 +0,0 @@
import { add } from "./main.ts";

Deno.bench(function addSmall() {
add(1, 2);
});

Deno.bench(function addBig() {
add(2 ** 32, 2 ** 32);
});
6 changes: 3 additions & 3 deletions main_test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { assertEquals } from "https://deno.land/[email protected]/testing/asserts.ts";
import { add } from "./main.ts";

Deno.test(function addTest() {
assertEquals(add(2, 3), 5);
});
// Deno.test(function addTest() {
// assertEquals(add(2, 3), 5);
// });

0 comments on commit 3ce4cd9

Please sign in to comment.