Skip to content

Commit

Permalink
Add tests to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
cc-a committed Mar 13, 2024
1 parent 02a732e commit b03edf6
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,22 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: pre-commit/[email protected]
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
Expand Down

0 comments on commit b03edf6

Please sign in to comment.