mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-02 17:00:08 +00:00
test: remove weird workaround (#556)
This commit is contained in:
6
.github/workflows/test.yml
vendored
6
.github/workflows/test.yml
vendored
@@ -13,10 +13,8 @@ jobs:
|
||||
deno-version: ${{ matrix.deno }}
|
||||
- name: Cache dependencies
|
||||
run: deno cache mod.ts
|
||||
- name: Run local tests
|
||||
run: TEST_TYPE=local deno test --allow-env
|
||||
- name: Run API tests
|
||||
- name: Run test script
|
||||
if: github.ref == 'refs/heads/master'
|
||||
run: TEST_TYPE=api deno test --allow-net --allow-env
|
||||
run: deno test --allow-net --allow-env
|
||||
env:
|
||||
DISCORD_TOKEN: ${{ secrets.DISCORD_TOKEN }}
|
||||
|
||||
@@ -36,7 +36,6 @@ import {
|
||||
export const defaultTestOptions: Partial<Deno.TestDefinition> = {
|
||||
sanitizeOps: false,
|
||||
sanitizeResources: false,
|
||||
ignore: Deno.env.get("TEST_TYPE") !== "api",
|
||||
};
|
||||
|
||||
// Temporary data
|
||||
|
||||
Reference in New Issue
Block a user