diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 60f359c..fc4764b 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -6,7 +6,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - run: pwd && ls -la + run: | + ls -la + ls -la man-card-project/ 2>/dev/null || true - name: Setup Python run: | @@ -15,7 +17,14 @@ jobs: - name: Install dependencies run: | + if [ -f man-card-project/requirements.txt ]; then + cd man-card-project + fi pip3 install -r requirements.txt - name: Run tests - run: pytest3 tests/ -v \ No newline at end of file + run: | + if [ -f man-card-project/requirements.txt ]; then + cd man-card-project + fi + pytest3 tests/ -v \ No newline at end of file