Files
discordeno/.github/workflows/test.yml
Ayyan 6f21de2a3a test: attempt to fix "Token not provided" error (#384)
* test: fix "Token not provided" error

* idk wtf

* Revert "idk wtf"

This reverts commit 26063aa127.

* https://open.spotify.com/track/3ZWc3Bm8eUMRRJhSWKHHeV 🔥🔥
2021-01-15 15:03:54 +04:00

16 lines
362 B
YAML

name: Test
on:
pull_request:
types: labeled
jobs:
test:
if: github.event.label.name == 'run-tests'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: denolib/setup-deno@v2
- name: Run test script
run: deno test --allow-net --allow-env tests/
env:
DISCORD_TOKEN: ${{ secrets.DISCORD_TOKEN }}