Github actions CI for db migrations
This commit is contained in:
parent
a77b388f8e
commit
2351a0cb4a
1 changed files with 25 additions and 0 deletions
25
.github/workflows/sqlite3-migrations.yml
vendored
Normal file
25
.github/workflows/sqlite3-migrations.yml
vendored
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
name: SQLite3 Migrations
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ "master" ]
|
||||||
|
pull_request:
|
||||||
|
branches: [ "master" ]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
defaults:
|
||||||
|
run:
|
||||||
|
working-directory: ./backend
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- name: Install SQLite3
|
||||||
|
run: sudo apt-get install sqlite3
|
||||||
|
- name: Install Make
|
||||||
|
run: sudo apt-get install make
|
||||||
|
- name: Run Migrations
|
||||||
|
run: make migrate
|
Loading…
Reference in a new issue