From aa8a84af0eb733de6c05274a8c8c209a07b035bc Mon Sep 17 00:00:00 2001 From: Juan Rodriguez Date: Tue, 14 May 2024 06:27:05 +0200 Subject: [PATCH] ci: run tests workflow --- .github/workflows/tests.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/tests.yml diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml new file mode 100644 index 0000000..b479c69 --- /dev/null +++ b/.github/workflows/tests.yml @@ -0,0 +1,21 @@ +name: Run tests + +on: + pull_request: + branches: [master] + +env: + ENV: test + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Download source + uses: actions/checkout@v3 + - name: Install Crystal + uses: crystal-lang/install-crystal@v1 + - name: Install dependencies + run: shards install + - name: Run tests + run: crystal spec