mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-02 08:50:07 +00:00
ci(test): add --allow-env flag
This commit is contained in:
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
@@ -14,9 +14,9 @@ jobs:
|
||||
- name: Cache dependencies
|
||||
run: deno cache mod.ts
|
||||
- name: Run local tests
|
||||
run: TEST_TYPE=local deno test
|
||||
run: TEST_TYPE=local deno test --allow-env
|
||||
- name: Run API tests
|
||||
if: github.ref == 'refs/heads/master'
|
||||
run: TEST_TYPE=api deno test --allow-net --allow-env
|
||||
run: TEST_TYPE=api deno test --allow-net --allow-env --allow-env
|
||||
env:
|
||||
DISCORD_TOKEN: ${{ secrets.DISCORD_TOKEN }}
|
||||
|
||||
Reference in New Issue
Block a user