mirror of
https://github.com/discordeno/discordeno.git
synced 2026-09-17 16:57:22 +00:00
test: remove configs.ts (#1995)
* refactortests): remove config.ts * Update mod.ts * Update mod.ts * .env file
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user