forked from composite-primary-keys/composite_primary_keys
-
Notifications
You must be signed in to change notification settings - Fork 1
30 lines (28 loc) · 853 Bytes
/
sqlite.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: sqlite
on: [push, pull_request]
jobs:
sqlite_test:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
ruby: [2.7, "3.0", 3.1, 3.2]
runs-on: ${{matrix.os}}
env:
BUNDLE_WITHOUT: "db2 oracle sqlserver postgresql mysql trilogy"
BUNDLE_JOBS: 4
BUNDLE_PATH: vendor/bundle
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{matrix.ruby}}
bundler-cache: true
- name: Installing packages
run: sudo apt-get install libsqlite3-dev
- name: Setup database config
run: cp test/connections/databases.ci.yml test/connections/databases.yml
- name: Prepare databases
run: bundle exec rake sqlite:build_database
- name: SQLite test
run: bundle exec rake sqlite:test