Skip to content

Commit

Permalink
chore(ci): re-enable coverage and upgrade codecov/codecov-action to v3 (
Browse files Browse the repository at this point in the history
  • Loading branch information
c4spar authored Apr 29, 2022
1 parent 0bf9a2e commit 2668379
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/canary.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ jobs:
deno-version: ${{ matrix.deno }}

- name: Run tests
run: deno test --unstable --shuffle --allow-all --jobs 2
run: deno test --unstable --shuffle --allow-all --jobs 8
23 changes: 11 additions & 12 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ jobs:
matrix:
os: [ubuntu-latest, macos-latest]
deno: [v1.x]
env:
RUST_BACKTRACE: full
steps:
- name: Setup repo
uses: actions/checkout@v3
Expand All @@ -21,16 +23,13 @@ jobs:
deno-version: ${{ matrix.deno }}

- name: Run tests
run: deno test --unstable --shuffle --allow-all --jobs 2
run: deno test --coverage=./cov --unstable --shuffle --allow-all --jobs 8

# - name: Run tests
# run: deno test --coverage=./cov --unstable --shuffle --allow-all --jobs 2
#
# - name: Generate lcov
# run: deno coverage --unstable --lcov ./cov > cov.lcov
#
# - name: Upload coverage
# uses: codecov/codecov-action@v2
# with:
# name: ${{ matrix.os }}-${{ matrix.deno }}
# files: cov.lcov
- name: Generate lcov
run: deno coverage --unstable --lcov ./cov > cov.lcov

- name: Upload coverage
uses: codecov/codecov-action@v3
with:
name: ${{ matrix.os }}-${{ matrix.deno }}
files: cov.lcov
2 changes: 1 addition & 1 deletion src/cli/mod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export function dzx() {
return new Command()
.version(VERSION)
.name("dzx")
.description("🦕 A custom deno runtime for fun.")
.description("A custom deno runtime for fun.")
.arguments("[script:string] [args...:string]")
.option(
"-A, --allow-all",
Expand Down

0 comments on commit 2668379

Please sign in to comment.