From 9462f39f474028c5afe8ba5cf195d9b6dc0385a0 Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Sun, 9 Jul 2023 23:48:15 -0400 Subject: [PATCH] meta: Add GitHub CI GitHub CI should be a more viable solution than Travis CI in 2023. --- .github/workflows/tests.yml | 17 +++++++++++++++++ 1 file changed, 17 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 00000000..2b5e7768 --- /dev/null +++ b/.github/workflows/tests.yml @@ -0,0 +1,17 @@ +name: tests + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + runs-on: ubuntu-latest + container: + image: crystallang/crystal + steps: + - uses: actions/checkout@v3 + - name: Run tests + run: crystal spec tests/main.cr