-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added SQLite for github actions test purpose
- Loading branch information
dcalixto
committed
Dec 22, 2024
1 parent
ba2ee6f
commit 6a67668
Showing
2 changed files
with
11 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,28 @@ | ||
name: Crystal Test | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: ["**"] | ||
branches: [master] | ||
pull_request: | ||
branches: ["**"] | ||
branches: [master] | ||
|
||
jobs: | ||
crystal_test: | ||
name: Crystal Test | ||
test: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
crystal-version: ["1.9", "1.10"] | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Set up Crystal | ||
- name: Install SQLite deps | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install -y libsqlite3-dev | ||
- name: Install Crystal | ||
uses: crystal-lang/install-crystal@v1 | ||
with: | ||
crystal: ${{ matrix.crystal-version }} | ||
|
||
- name: Install dependencies | ||
run: shards install | ||
|
||
- name: Run specs | ||
- name: Run tests | ||
run: crystal spec |
This file was deleted.
Oops, something went wrong.