diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cd2c6f7..ba7bc84 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,10 +8,26 @@ jobs: steps: - uses: actions/checkout@v3 - uses: pre-commit/action@v2.0.3 + test: + needs: qa + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-python@v5 + with: + python-version: "3.9" + - name: install system dependencies + run: sudo apt-get install libxml2-dev libxmlsec1-dev libxmlsec1-openssl + - name: install pipenv + run: pip install pipenv + - name: setup project virtual environment + run: pipenv install --deploy --dev + - name: run tests + run: pipenv run pytest build-and-publish: runs-on: ubuntu-latest if: github.ref == 'refs/heads/main' - needs: qa + needs: test steps: - uses: actions/checkout@v3 - name: Login to GitHub Container Registry