Skip to content

Apply suggestions from code review #1456

Apply suggestions from code review

Apply suggestions from code review #1456

Workflow file for this run

---
name: Run Tests
on:
push:
pull_request:
branches:
- main
jobs:
run-lint-and-tests:
runs-on: ubuntu-latest
services:
postgres:
image: postgres:16.4-alpine3.20
env:
POSTGRES_USER: hushline
POSTGRES_PASSWORD: hushline
POSTGRES_DB: hushline
steps:
- uses: actions/checkout@v4
- name: Install Poetry
run: pipx install poetry
- uses: actions/setup-python@v4
with:
python-version: "3.12"
cache: "poetry"
- uses: actions/setup-node@v4
with:
node-version: 22
cache: "npm"
- name: Install Python dependencies
run: poetry install
- name: Install Node dependencies
run: npm install
- name: Lint
run: poetry run make lint
- name: Test
run: poetry run make test