diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index cf94b6c..95db76b 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -3,4 +3,14 @@ on: [push, pull_request] jobs: test: runs-on: ubuntu-latest - steps: [ { run: "echo hello" } ] + steps: + - name: Clone repo + run: | + git clone https://${{ gitea.server }}/${{ gitea.repository }} . + git checkout ${{ gitea.sha }} + + - name: Install and test + run: | + pip3 install pytest + pip3 install click pyyaml rich + pytest tests/ -v --tb=short