From 8bf5318046a48d84614ed1d3d53850a5375aec87 Mon Sep 17 00:00:00 2001 From: Anand Chowdhary Date: Mon, 1 Jun 2020 17:11:38 +0530 Subject: [PATCH] :construction_worker: Add test CI --- .github/workflows/test.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..4a03564 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,28 @@ +name: Test CI +on: + push: + branches-ignore: + - "master" + pull_request: + branches-ignore: + - "master" +jobs: + build: + name: ${{ matrix.kind }} ${{ matrix.os }} + runs-on: ${{ matrix.os }} + if: "!contains(github.event.head_commit.message, '[skip ci]')" + strategy: + matrix: + os: [macOS-latest, ubuntu-latest, windows-latest] + env: + GH_ACTIONS: true + DENO_BUILD_MODE: release + V8_BINARY: true + steps: + - uses: actions/checkout@v2 + - name: Setup Deno + uses: denolib/setup-deno@master + with: + deno-version: 1.x + - name: Run tests + run: deno test --allow-read