Skip to content

Merge pull request #1 from sulujulianto/feat/backend-api #3

Merge pull request #1 from sulujulianto/feat/backend-api

Merge pull request #1 from sulujulianto/feat/backend-api #3

Workflow file for this run

name: CI
on:
push:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt -r requirements-dev.txt
- name: Lint
run: ruff check .
- name: Type check
run: mypy app
- name: Test
run: pytest -q
- name: Build Docker image
run: docker build -t sistem-wilayah-indonesia-api .