Add signout button on dashboard (quick fix) #1645
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: 'Pull Request' | |
| on: | |
| push: | |
| branches-ignore: | |
| - 'staging' | |
| - 'master' | |
| env: | |
| ENVIRONMENT: local | |
| SECRET: ${{ secrets.SECRET }} | |
| DEBUG: 0 | |
| ALLOWED_HOSTS: 127.0.0.1,localhost | |
| DOMAIN_URL: http://localhost:8080/ | |
| EMAIL_ENGINE: local | |
| EMAIL_FILE_PATH: ${GITHUB_WORKSPACE}/emails | |
| HIGHCHART_SERVER: https://highcharts-export.osc-fr1.scalingo.io | |
| POSTGRES_DB: postgres | |
| CELERY_BROKER_URL: null | |
| CELERY_RESULT_BACKEND: null | |
| CELERY_TASK_ALWAYS_EAGER: null | |
| API_KEY_SENDINBLUE: null | |
| AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | |
| AWS_LOCATION: ${{ secrets.AWS_LOCATION }} | |
| AWS_S3_REGION_NAME: ${{ secrets.AWS_S3_REGION_NAME }} | |
| AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | |
| AWS_STORAGE_BUCKET_NAME: ${{ secrets.AWS_STORAGE_BUCKET_NAME }} | |
| CRISP_WEBHOOK_SECRET_KEY: ${{ secrets.CRISP_WEBHOOK_SECRET_KEY }} | |
| CRISP_WEBSITE_ID: ${{ secrets.CRISP_WEBSITE_ID }} | |
| AWS_S3_ENDPOINT_URL: ${{ secrets.AWS_S3_ENDPOINT_URL }} | |
| PROCONNECT_DOMAIN: null | |
| PROCONNECT_CLIENT_ID: null | |
| PROCONNECT_SECRET: null | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: pre-commit/action@v3.0.1 | |
| env: | |
| SKIP: ggshield,sqlfluff-lint,sqlfluff-fix | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.11' | |
| cache: 'pipenv' | |
| - run: curl https://raw.githubusercontent.com/pypa/pipenv/master/get-pipenv.py | python | |
| - uses: nyurik/action-setup-postgis@v1 | |
| id: pg | |
| - run: psql -c "ALTER ROLE postgres SUPERUSER;" | |
| - run: pipenv install --dev | |
| - run: sudo apt-add-repository ppa:ubuntugis/ubuntugis-unstable | |
| - run: sudo apt-get update | |
| - run: sudo apt-get install -y gdal-bin libgdal-dev | |
| - run: npm install # Installe les dépendances front | |
| - run: npm run build # Exécute Webpack pour générer webpack-stats.json | |
| - run: pipenv run python -Wa manage.py test | |
| env: | |
| DATABASE_URL: ${{ steps.pg.outputs.connection-uri }} |