Analyse de la matérialité des enjeux sélectionnés #864
Workflow file for this run
This file contains 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: test | |
on: | |
push: | |
branches: | |
- main | |
- recette | |
- github-actions | |
pull_request: | |
branches: | |
- main | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
env: | |
SECRET_KEY: fake-secret-key | |
DATABASE_URL: sqlite:///db.sqlite3 | |
METABASE_DATABASE_URL: sqlite:///metabase.sqlite3 | |
API_INSEE_KEY: ${{ secrets.API_INSEE_KEY }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16.x | |
- name: Install front dependencies | |
run: npm install | |
- name: Build front | |
run: npm run build | |
- name: Set up python3.10 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' | |
cache: 'pipenv' | |
- name: Install pipenv | |
run: curl https://raw.githubusercontent.com/pypa/pipenv/master/get-pipenv.py | python | |
- name: Install dependencies | |
run: pipenv install -d | |
- name: Run tests | |
run: pipenv run pytest -m "not network" |