Skip to content

Commit

Permalink
chore(ci/cd): test GHA workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
pcarillion committed Jun 3, 2024
1 parent 81256e2 commit dc1acaf
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@ on:
pull_request: {}
workflow_dispatch:

env:
SUDFA_BACKEND_BASE_URL: "" # Not needed for tests but must not be undefined
NODEMAILER_EMAIL: ${{ secrets.NODEMAILER_EMAIL }}
NODEMAILER_PASS: ${{ secrets.NODEMAILER_PASS }}
NODEMAILER_SERVICE: ${{ secrets.NODEMAILER_SERVICE }}
BASE_URL: "http://localhost:3000"

jobs:
cypress-run:
runs-on: ubuntu-22.04
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,7 @@ Pour utiliser Payload, il suffit de fournir l'url de l'API dans la variable `SUD
## Déploiement

Le projet est automatiquement déployé sur Netlify lors du push sur la branche master.

## Tests e2E

Des tests e2e sur Cypress ont été ajoutés, notamment pour tester le formulaire de contact.

0 comments on commit dc1acaf

Please sign in to comment.