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 9d7040b
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,21 @@ 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: 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 9d7040b

Please sign in to comment.