From b03edf6e347cc471cfc86603af2878da53652c11 Mon Sep 17 00:00:00 2001 From: Christopher Cave-Ayland Date: Wed, 13 Mar 2024 17:24:38 +0000 Subject: [PATCH] Add tests to CI --- .github/workflows/ci.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cd2c6f7..86c4253 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,10 +8,22 @@ 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" + - run: apt-get install libxml2-dev libxmlsec1-dev libxmlsec1-openssl + - run: pip install pipenv + - run: pipenv install --deploy + - 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