meta: Add GitHub CI

GitHub CI should be a more viable solution than Travis CI in 2023.
This commit is contained in:
Donovan Glover 2023-07-09 23:48:15 -04:00
parent a3ca695d4e
commit 9462f39f47
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

17
.github/workflows/tests.yml vendored Normal file
View File

@ -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