diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index ccd296e..7727638 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -3,12 +3,16 @@ name: CI on: [push, pull_request] jobs: - debug: + test: runs-on: ubuntu-latest steps: - - name: Debug + - name: Debug vars run: | - echo "PWD: $(pwd)" - echo "ls: $(ls -la)" - echo "GITEA_REPO_NAME: $GITEA_REPO_NAME" - echo "github.repository: $github.repository" + echo "GITEA_REPO_NAME=$GITEA_REPO_NAME" + - name: Clone + run: | + git clone "https://gitea.com/${GITEA_REPO_NAME}.git" . + - name: Install + run: pip3 install -e . pytest + - name: Test + run: pytest tests/ -v