From 4c086e2ba10c1aa3b2fb5bbe49f083a0b38abefe Mon Sep 17 00:00:00 2001 From: Dmitriy Pleshevskiy Date: Tue, 14 Jun 2022 12:52:51 +0300 Subject: [PATCH] ci: add tests --- .drone.yml | 17 +++++++++++++++++ makefile | 2 +- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..06d2677 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,17 @@ +kind: pipeline +type: docker +name: default + +trigger: + branch: + - main + event: + - push + - pull_request + +steps: + - name: tests + image: denoland/deno:alpine-1.22.3 + commands: + - cd /app + - deno test --allow-read diff --git a/makefile b/makefile index a144200..485d4b4 100644 --- a/makefile +++ b/makefile @@ -3,6 +3,6 @@ test-w: deno test --allow-read --watch test: - deno test + deno test --allow-read