Skip to content

Update ci.yml

Update ci.yml #4

Workflow file for this run

name: CI Workflow
on:
push:
branches:
- ci/setup-github-workflow
pull_request:
branches:
- ci/setup-github-workflow
jobs:
test:
runs-on: ubuntu-latest
services:
postgres:
image: postgres:16
env:
POSTGRES_HOST_AUTH_METHOD: trust
ports:
- 5433:5432
options: >-
--health-cmd "pg_isready -U postgres"
--health-interval 10s
--health-timeout 5s
--health-retries 5
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install Poetry
run: |
curl -sSL https://install.python-poetry.org | python3 -
- name: Install dependencies
run: |
poetry install
- name: Run Tests for Data Handler
run: |
poetry run make test_data_handler
- name: Run Tests for Shared
run: |
poetry run make test_shared