Skip to content

chore(deps): update python docker tag to v3.12.6 #2098

chore(deps): update python docker tag to v3.12.6

chore(deps): update python docker tag to v3.12.6 #2098

Workflow file for this run

name: ✅ Test
on:
push:
branches: ["**"]
concurrency:
cancel-in-progress: true
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.event.ref }}
env:
ADMINS_LIST: test-email@example.com
AUTHENTICATOR_SECRET: test-authenticator-dummy-secret
HEALTCHECKSIO_API_KEY: test-healthchecksio-dummy-api-key
SECRET_KEY: test-key-dummy-secret
SERVER_NAME: localhost:5000
SQLALCHEMY_DATABASE_URI: postgresql://postgres:postgres@localhost:5432/recosante
TEST_DATABASE_URL: postgresql://postgres:postgres@localhost:5433/recosante_test
VAPID_PRIVATE_KEY: MHcCAQEEIMo8C2KJ8FiR26MSaTlRRtUXmKto60DEedkShCUkyD74oAoGCCqGSM49AwEHoUQDQgAEWlEpZJ49k/GKiLPN6LSlXS4BPrbjRPqiSV+4o4ROhbv2yvr+WXwFJMxVf7X7Bd0w6t2ooh0Jv5RTGZ+zVI8v9A==
jobs:
test:
runs-on: ubuntu-latest
services:
db:
image: postgres:15.2
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: recosante
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 5432:5432
dbtest:
image: postgres:15.2
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: recosante_test
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 5433:5432
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v4
with:
cache: "yarn"
node-version-file: ".nvmrc"
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: 3.11.3
- name: Install Dependencies
run: |
cd api
pip install poetry
yarn --immutable
poetry install
- name: Reconfigure Locales
run: |
sudo locale-gen fr_FR.UTF-8
export LC_ALL="fr_FR.UTF-8"
export LC_CTYPE="fr_FR.UTF-8"
sudo dpkg-reconfigure locales
- name: Test
run: yarn test