diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 1e94eb0..8837c94 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -1,23 +1,12 @@ name: CI - -on: - push: - branches: [ main ] - pull_request: - branches: [ main ] - +on: push jobs: test: runs-on: ubuntu-latest steps: - - name: Checkout - run: | - echo "Checking out code..." - ls -la - pwd - name: Install run: | - pip install -e . pytest pytest-asyncio - - name: Test + pip3 install --no-cache-dir -e /app 2>&1 | tail -30 || echo "Exit code: $?" + - name: Run tests run: | - python -m pytest tests/ -v \ No newline at end of file + pytest /app/tests/ -v 2>&1 | tail -30 || echo "Exit code: $?" \ No newline at end of file