diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 589a2eb..b274b0c 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -2,22 +2,21 @@ name: CI on: push: - branches: [main] + branches: [ main ] pull_request: - branches: [main] + branches: [ main ] jobs: test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - name: Set up Python run: | - sudo apt-get update - sudo apt-get install -y python3 python3-pip python3-venv + apt-get update + apt-get install -y python3 python3-pip python3-venv python3 --version pip3 --version - name: Install package run: pip3 install -e . pytest pytest-asyncio - name: Run tests - run: pytest tests/ -v + run: python3 -m pytest tests/ -v \ No newline at end of file