From ac5c08fc48e5ca2a2b9b68af5f1fa9b963da990f Mon Sep 17 00:00:00 2001 From: Mike Solomon Date: Mon, 19 Jun 2023 14:58:51 +0300 Subject: [PATCH] Adds tests to the pipeline --- .github/workflows/unit-tests.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/unit-tests.yml diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml new file mode 100644 index 0000000..e65f5c7 --- /dev/null +++ b/.github/workflows/unit-tests.yml @@ -0,0 +1,19 @@ +name: Unit tests +on: push +jobs: + container-job: + runs-on: ubuntu-latest + strategy: + matrix: + node-version: [14.x] + steps: + - name: Check out repository code + uses: actions/checkout@v2 + - name: Install dependencies + run: npm ci + - name: Spago install + run: npx spago -x test.dhall install + - name: Spago build + run: npx spago -x test.dhall build + - name: Spago test + run: npm t \ No newline at end of file