Skip to content

[TECH] Ingérer et extraire les données provenant de GTFS #2

[TECH] Ingérer et extraire les données provenant de GTFS

[TECH] Ingérer et extraire les données provenant de GTFS #2

Workflow file for this run

name: ci
on:
push:
branches:
- main
pull_request:
branches:
- main
repository_dispatch:
types: [ci]
workflow_dispatch:
jobs:
ci:
runs-on: ubuntu-latest
services:
postgres:
image: postgres
env:
POSTGRES_PASSWORD: postgres
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 5432:5432
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
persist-credentials: false
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install
run: npm ci
- name: Lint
run: npm run lint
- name: Test
run: npm test
env:
TEST_DATABASE_URL: postgres://postgres:postgres@postgres:5432/idfm_test