Merge pull request #304 from IFB-ElixirFr/ifb-services #640
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: 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 |