Add contributing file #6
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
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 | |
run: sleep 10s | |
shell: bash | |
- name: Run backend tests | |
run: ./scripts/test_backend.sh |