🐛 Fixed pytest.yml
This commit is contained in:
@@ -26,6 +26,8 @@ jobs:
|
||||
- run: pipenv install --dev
|
||||
- name: Prepare tests
|
||||
run: |
|
||||
echo ${{ secrets.DOTENV }} | base64 --decode > .env
|
||||
set -o allexport; source .env; set +o allexport
|
||||
chmod +x run_tests.sh
|
||||
- name: Run tests
|
||||
run: |
|
||||
|
||||
@@ -9,6 +9,7 @@ stop() {
|
||||
}
|
||||
|
||||
init() {
|
||||
mkdir /tmp/storage
|
||||
docker run --rm -d -p 6379:6379 --name test_redis redis:alpine
|
||||
docker run -it --rm -d -p 7700:7700 --name test_meili getmeili/meilisearch:latest
|
||||
pipenv run python3 init_db.py
|
||||
|
||||
Reference in New Issue
Block a user