Add and update commit frequency metrics #503
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
# used for running pytest tests | |
name: pytest tests | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
# tests python package components | |
almanack_tests: | |
strategy: | |
matrix: | |
# matrixed execution for parallel gh-action jobs | |
python-version: ["3.9", "3.10", "3.11", "3.12"] | |
os: [ubuntu-22.04, macos-13] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install python env | |
uses: ./.github/actions/install-python-env | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Run pytest | |
run: | | |
poetry run pytest --ignore tests/test_build.py | |
# tests the build of book content | |
build_tests: | |
runs-on: "ubuntu-22.04" | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install python env | |
uses: ./.github/actions/install-python-env | |
- name: Run pytest | |
run: | | |
poetry run pytest tests/test_build.py |