-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
17 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,10 +8,26 @@ 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" | ||
- 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 | ||
|