ci: run tests workflow

This commit is contained in:
Juan Rodriguez
2024-05-14 06:27:05 +02:00
parent f28dfdfd89
commit aa8a84af0e
+21
View File
@@ -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