File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed
Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -2,14 +2,24 @@ version: 2.1
22
33jobs :
44 test :
5- docker :
6- - image : cimg/python:3.6.15
5+ machine :
6+ image : ubuntu-2004:2022.10.1
77 steps :
88 - checkout
99 - setup_remote_docker
1010 - run :
1111 name : Install deps
1212 command : poetry install
13+ - run :
14+ name : Spin up Pokeapi
15+ command : |
16+ git clone --recurse-submodules https://github.com/PokeAPI/pokeapi.git
17+ cd pokeapi
18+ docker-compose up -d
19+ docker-compose exec -T app python manage.py migrate --settings=config.docker-compose
20+ docker-compose exec -T app sh -c 'echo "from data.v2.build import build_all; build_all()" | python manage.py shell --settings=config.docker-compose'
21+ cd ..
22+
1323 # - run:
1424 # name: Clone data
1525 # command: poetry run ditto clone --dest-dir ./data
You can’t perform that action at this time.
0 commit comments