Skip to content

Commit

Permalink
Add CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Long committed Sep 21, 2024
1 parent 4f1c53a commit 79359da
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: CI

on: [push]

jobs:
lint_backend:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Lint backend code
run: ./scripts/lint_backend.sh

lint_etl:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Lint ETL code
run: ./scripts/lint_etl.sh

lint_frontend:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Lint frontend code
run: ./scripts/lint_frontend.sh

test_backend:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Start database services
run: docker compose up -d database redis
- name: Wait for database startup to finish
uses: jakejarvis/wait-action@master
with:
time: '10s'
- name: Run backend tests
run: ./scripts/test_backend.sh

0 comments on commit 79359da

Please sign in to comment.