test: remove configs.ts (#1995)

* refactortests): remove config.ts

* Update mod.ts

* Update mod.ts

* .env file
This commit is contained in:
ITOH
2022-02-04 10:06:55 -05:00
committed by GitHub
parent 81f8e0377c
commit c2b7a6ec03
6 changed files with 9 additions and 10 deletions
-2
View File
@@ -16,8 +16,6 @@ jobs:
deno-version: ${{ matrix.deno }}
- name: Cache dependencies
run: deno cache mod.ts
- name: Prepare configs file
run: cp configs.example.ts configs.ts
- name: Run tests if requested by maintainers
if: ${{ github.event.issue.pull_request && github.event.comment.body == 'run-tests' && (github.actor == 'Skillz4Killz' || github.actor == 'itohatweb') }}
run: DISCORD_TOKEN=${{ env.DISCORD_TOKEN }} deno test --unstable --coverage=coverage -A tests/mod.ts
-2
View File
@@ -21,8 +21,6 @@ jobs:
deno-version: ${{ matrix.deno }}
- name: Cache dependencies
run: deno cache mod.ts
- name: Prepare configs file
run: cp configs.example.ts configs.ts
- name: Run test script for maintainers
if: ${{ github.actor == 'Skillz4Killz' || github.actor == 'itohatweb' }}
run: deno test --unstable --coverage=coverage -A tests/mod.ts