Nens auth client #80
Workflow file for this run
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
# Generated by nens-meta. | |
# See https://nens-meta.readthedocs.io/en/latest/config-files.html for info. | |
# If you want this file to be left alone, add "nens_meta_leave_alone" in | |
# all caps somewhere in this file in a comment. | |
# | |
# ... which we want for now as we have a docker-compose based setup... | |
# NENS_META_LEAVE_ALONE | |
name: nens-meta | |
on: | |
push: | |
branches: | |
- master | |
- main | |
pull_request: | |
branches: | |
- master | |
- main | |
workflow_dispatch: | |
jobs: | |
nens-meta: | |
name: nens-meta | |
runs-on: "ubuntu-latest" | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.11 | |
- uses: pre-commit/[email protected] | |
- name: Build/pull docker | |
run: | | |
docker-compose build | |
docker-compose pull | |
- name: Test | |
run: docker-compose run web pytest | |
- name: Coverage | |
run: | | |
docker-compose run web coverage run -m pytest | |
docker-compose run web coverage xml | |
docker-compose run web coverage report --format markdown >> $GITHUB_STEP_SUMMARY | |
docker-compose run web coverage report --fail-under 10 --format text | |
### Extra lines below are preserved ### |