From 26dfdd957308dfbe9261b1a8b301b47d669761da Mon Sep 17 00:00:00 2001 From: Anatoly Belikov Date: Mon, 22 Jul 2024 17:04:48 +0300 Subject: [PATCH] symlink models dir for tests --- .github/workflows/python-app.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index dc988ce..8d7e83d 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -27,7 +27,11 @@ jobs: run: | python -m pip install --upgrade pip if [ -f requirements.txt ]; then pip install -r requirements.txt; fi + - name: symlink models directory + run: ln -s ../../../../models tests/models-full - name: Test with pytest + env: + METAFUSION_MODELS_DIR: models-full run: | cd tests && python pipe_test.py - name: Test worker