Skip to content

Commit 4f28981

Browse files
committed
💚 Fix CI?
1 parent 6b7afbe commit 4f28981

File tree

4 files changed

+12
-22
lines changed

4 files changed

+12
-22
lines changed

.github/workflows/ci.yaml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,12 @@ jobs:
3333
- name: Tests
3434
run: deno test --coverage=./cov
3535

36-
# Until denoland/deno#14397
37-
# - name: Generate Coverage
38-
# if: matrix.os == 'ubuntu-latest'
39-
# run: deno coverage --unstable --lcov ./cov > cov.lcov
40-
41-
# - name: Upload Coverage
42-
# if: matrix.os == 'ubuntu-latest'
43-
# uses: codecov/codecov-action@v2
44-
# with:
45-
# files: cov.lcov
36+
- name: Generate Coverage
37+
if: matrix.os == 'ubuntu-latest'
38+
run: deno coverage --unstable --lcov ./cov > cov.lcov
39+
40+
- name: Upload Coverage
41+
if: matrix.os == 'ubuntu-latest'
42+
uses: codecov/codecov-action@v2
43+
with:
44+
files: cov.lcov

src/language/average.bench.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ import { average, averageFor } from "./average.ts";
44

55
const BENCH_DATA = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] as const;
66

7-
Deno.bench("average", { group: "average" }, () => {
7+
Deno.bench("[average] Reduce", { group: "average" }, () => {
88
average(BENCH_DATA);
99
});
1010

11-
Deno.bench("averageFor", { group: "average" }, () => {
11+
Deno.bench("[average] For", { group: "average" }, () => {
1212
averageFor(BENCH_DATA);
1313
});

src/language/greater_than.bench.ts

Lines changed: 0 additions & 9 deletions
This file was deleted.

src/language/list.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export function arrayToList<T>([value, ...values]: T[]): List<T> | null {
88
}
99

1010
export function arrayToListReduce<T>(values: T[]) {
11-
// it would enter on one line if this were plain JS 🥲
11+
// it would enter on one line if this were plain JS
1212
return values.reduceRight<List<T> | null>(
1313
(rest, value) => ({ value, rest }),
1414
null,

0 commit comments

Comments
 (0)