Skip to content

feat(api): update candidacy status when dff has been sent to the cert… #4090

feat(api): update candidacy status when dff has been sent to the cert…

feat(api): update candidacy status when dff has been sent to the cert… #4090

Workflow file for this run

name: Cypress tests
on: [push]
env:
FRAMER_WEBSITE_URL: https://reva.incubateur.net
REACT_APP_API_GRAPHQL: https://reva.incubateur.net/api/graphql
REACT_APP_KEYCLOAK_REALM: reva-app
REACT_APP_KEYCLOAK_URL: https://auth.reva.incubateur.net/
REACT_APP_KEYCLOAK_CLIENT_ID: reva-app
# On la definie uniquement pour que le serveur start...
DATABASE_URL: postgresql://reva:password@localhost:5444/reva?schema=public
NEXT_PUBLIC_WEBSITE_API_GRAPHQL: https://reva.incubateur.net/api/graphql
NEXT_PUBLIC_FEATURE_CANDIDATE_ORIENTATION: true
NEXT_PUBLIC_WEBSITE_STRAPI_BASE_URL: "https://strapi.vae.gouv.fr"
VITE_KEYCLOAK_REALM: reva
VITE_KEYCLOAK_URL: https://auth.reva.incubateur.net/
VITE_KEYCLOAK_CLIENT_ID: reva-admin
VITE_FEASIBILITY_FEATURE_ENABLED: true
VITE_FRANCE_VAE_FINANCE_MODULE_FEATURE_ENABLED: true
jobs:
cypress-run-reva-app:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
- run: npm install
- run: cd packages/reva-tests && npm install
- run: npm run build
# On met le NODE_ENV ici car si on le met en global, ca install pas les devDeps
- run: cd packages/reva-tests && NODE_ENV=production npm run test:ci
cypress-run-reva-website:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
- run: cd packages/reva-website && npm install
- run: cd packages/reva-website && NODE_ENV=production npm run test:ci
cypress-run-reva-admin:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
- run: npm install husky
- run: cd packages/reva-admin && npm install && npm run build:app
- run: cd packages/reva-admin && npm install serve
- run: cd packages/reva-admin && NODE_ENV=production npm run test:ci