diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index d3a34e3..07aea74 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -4,11 +4,16 @@ jobs: test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-python@v4 - with: - python-version: '3.10' - - run: | - pip install -e . - pip install pytest - pytest confsync/tests/ -v + - name: Checkout code + run: | + git clone --depth 1 https://7000pct.gitea.bloupla.net/7000pctAUTO/confsync.git . + - name: Setup Python + run: | + apt-get update -qq + apt-get install -y -qq python3 python3-pip git + - name: Install dependencies + run: | + pip install -q -e . + pip install -q pytest + - name: Run tests + run: pytest confsync/tests/ -v