Skip to content

Commit

Permalink
Add workflow with SQLite tests
Browse files Browse the repository at this point in the history
  • Loading branch information
JeremyMcCormick committed Aug 9, 2024
1 parent 5163131 commit 5766c90
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/test_sqlite.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Test SQLite
on:
push:

jobs:

test_sqlite:

runs-on: ubuntu-latest

steps:

- name: Check out repo
uses: actions/checkout@v4

- name: Setup Python and install dependencies
uses: ./.github/actions/setup-test-environment

- name: Set engine URL
run: echo "FELIS_ENGINE_URL=sqlite:///test.db" >> $GITHUB_ENV

- name: Create databases
run: create-databases.sh

- name: Create SQL files
run: generate-sql-files.sh sqlite

- name: Load SQL files
run: load-sql.sh sqlite

- name: Initialize TAP_SCHEMA database
run: |
felis init-tap sqlite:///TAP_SCHEMA.db
- name: Upload to TAP_SCHEMA database
run: load-tap-schema.sh

0 comments on commit 5766c90

Please sign in to comment.