chore(deps): update dependency alembic to v1.14.0 #1230
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: Lint, format and test code | |
on: | |
workflow_dispatch: | |
pull_request: | |
paths: | |
- api/** | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
services: | |
postgres: | |
image: postgres:15.8@sha256:eb3747f5d0a92195ca486d2f15d9a4ee5e9461b0332fe87fbc59069490a5c659 | |
env: | |
POSTGRES_USER: postgres | |
POSTGRES_PASSWORD: postgres | |
POSTGRES_DB: list-manager | |
ports: | |
- 5432:5432 | |
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 | |
strategy: | |
fail-fast: false | |
matrix: | |
folder: ["api"] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Setup python | |
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0 | |
with: | |
python-version: "3.9" | |
- name: Setup node | |
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0 | |
with: | |
node-version: "14" | |
- name: Install dev dependencies | |
working-directory: ${{ matrix.folder }} | |
run: make install-dev | |
- name: Install dependencies | |
working-directory: ${{ matrix.folder }} | |
run: make install | |
- name: Lint | |
working-directory: ${{ matrix.folder }} | |
run: make lint-ci | |
- name: Format | |
working-directory: ${{ matrix.folder }} | |
run: make fmt-ci | |
- name: Test | |
working-directory: ${{ matrix.folder }} | |
env: | |
SQLALCHEMY_DATABASE_URI: postgresql://postgres:postgres@127.0.0.1/list-manager | |
SQLALCHEMY_DATABASE_TEST_URI: postgresql://postgres:postgres@127.0.0.1/list-manager | |
run: make test |