ci: another attempt to fix CI

This commit is contained in:
ayntee
2021-01-15 19:46:05 +04:00
parent 5973807e32
commit e69d4ac78b
10 changed files with 348 additions and 354 deletions

View File

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