diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 4408bae..8c20f0a 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -5,13 +5,18 @@ jobs: test: runs-on: ubuntu-latest steps: - - name: Check Python - run: | - python3 --version - which python3 + - name: Checkout code + uses: actions/checkout@v4 - - name: List files + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version: '3.11' + + - name: Install dependencies run: | - ls -la - echo "---" - ls -d */ \ No newline at end of file + pip install -e . + pip install pytest pytest-cov + + - name: Run tests + run: pytest tests/ -v --cov=man_card --cov-report=term-missing