Skip to content

Commit

Permalink
CI: harden tests config
Browse files Browse the repository at this point in the history
no more .env, put them in CI file
  • Loading branch information
skelz0r committed Aug 10, 2023
1 parent ed18a9c commit ac8509d
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/back.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,22 @@ on:
env:
CI: true
COVERAGE: true
RUBY_VERSION: 3.2.0

BACK_HOST: http://localhost:3001
FRONT_HOST: http://localhost:3000
ALLOWED_ORIGINS: http://localhost:3000
RUBY_VERSION: 3.2.0
PG_HOST: localhost
OAUTH_HOST: https://app-test.moncomptepro.beta.gouv.fr
API_GOUV_HOST: https://staging.api.gouv.fr
PG_USER: datapass
PG_PASSWORD: datapass
PG_HOST: localhost
PG_DATABASE: datapass
INSEE_HOST: http://localhost
INSEE_CONSUMER_KEY: fake_key
INSEE_CONSUMER_SECRET: fake_secret
DO_NOT_VALIDATE_MAIL: "True"
DO_NOT_SEND_MAIL: "False"

jobs:
test:
Expand Down

0 comments on commit ac8509d

Please sign in to comment.