fix: local tests stop existing plz

This commit is contained in:
Skillz4Killz
2022-05-29 15:13:32 +00:00
committed by GitHub
parent 36c3b15f2b
commit 81d9577269
-45
View File
@@ -1,45 +0,0 @@
name: Local Tests Only
on:
push:
paths:
- "handlers/**"
- "helpers/**"
- "plugins/**"
- "rest/**"
- "tests/**"
- "transformers/**"
- "template/**"
- "types/**"
- "util/**"
- "gateway/**"
pull_request:
paths:
- "handlers/**"
- "helpers/**"
- "plugins/**"
- "rest/**"
- "tests/**"
- "transformers/**"
- "template/**"
- "types/**"
- "util/**"
- "gateway/**"
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
deno: ["v1.x"]
steps:
- uses: actions/checkout@v2
- uses: denoland/setup-deno@main
with:
deno-version: ${{ matrix.deno }}
- name: Cache dependencies
run: deno cache mod.ts
- name: Cache Templates
run: deno cache template/beginner/mod.ts template/bigbot/src/bot/mod.ts template/bigbot/src/gateway/mod.ts template/bigbot/src/rest/mod.ts template/minimal/mod.ts
- name: Run Local tests that don't need Discord's API
run: deno test -A testss/utils.test.ts