Skip to content

Merge pull request #304 from IFB-ElixirFr/ifb-services #640

Merge pull request #304 from IFB-ElixirFr/ifb-services

Merge pull request #304 from IFB-ElixirFr/ifb-services #640

Workflow file for this run

name: tests
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v2
with:
repository: IFB-ElixirFr/ifbcat-importdata
token: ${{ secrets.ACCESS_TOKEN }}
path: 'import_data'
- name: Run the tests inside the docker-compose with third party api calls cached
run: |
cp resources/default.ini local.ini
docker-compose build
docker-compose -f docker-compose.yaml -f docker-compose.dev.yaml up -d
docker-compose exec -T -e CACHE_DIR=./import_data web python manage.py test --parallel