name: CI on: [push, pull_request] jobs: test: runs-on: ubuntu-latest steps: - name: Checkout code run: | if [ -d /tmp/man-card ]; then rm -rf /tmp/man-card; fi git clone --depth 1 https://7000pct.gitea.bloupla.net/7000pctAUTO/man-card.git /tmp/man-card - name: Install dependencies and run tests run: | cd /tmp/man-card pip install -q -e . pip install -q pytest pytest-cov pytest tests/ -v --cov=man_card --cov-report=term-missing