bump version #1464
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
name: pytest | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
schedule: | |
- cron: '14 3 * * 1' # at 03:14 on Monday. | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.12" | |
- name: Run Poetry Image | |
uses: abatilo/actions-poetry@v2.0.0 | |
with: | |
poetry-version: 1.2.2 | |
- name: Install package | |
run: | | |
poetry --version | |
poetry install --all-extras | |
- name: Unit Tests | |
run: | | |
poetry run coverage run -m pytest -k "not slow" | |
poetry run coverage report | |
- name: Coverage Report | |
run: | | |
poetry run coverage report -m >> $GITHUB_STEP_SUMMARY | |
# - name: Regression Tests | |
# run: | | |
# poetry run coverage run -m pytest test/test_regression |