diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index b8ce101..3dc2d40 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -4,9 +4,13 @@ jobs: test: runs-on: ubuntu-latest steps: - - run: | - git clone --depth 1 https://7000pct.gitea.bloupla.net/7000pctAUTO/confsync.git /tmp/confsync - - run: | - curl -sS https://bootstrap.pypa.io/get-pip.py -o /tmp/get-pip.py - python3 /tmp/get-pip.py --force-reinstall - pip --version + - name: Checkout + uses: actions/checkout@v3 + - name: Setup Python + uses: actions/setup-python@v4 + with: + python-version: '3.10' + - name: Install pytest + run: pip install pytest + - name: Run tests + run: pytest confsync/tests/ -v