Skip to content

Add files via upload #748

Add files via upload

Add files via upload #748

Workflow file for this run

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"