Skip to content

πŸ”— CHORE: Bump examples submodule to dotflow 1.0.0 #269

πŸ”— CHORE: Bump examples submodule to dotflow 1.0.0

πŸ”— CHORE: Bump examples submodule to dotflow 1.0.0 #269

Workflow file for this run

name: πŸ§ͺ Tests
on:
pull_request:
branches: ["main", "develop", "master", "pypi"]
workflow_dispatch:
workflow_call:
jobs:
test:
name: Run Tests
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
steps:
- name: πŸ“₯ Checkout code
uses: actions/checkout@v4
with:
submodules: recursive
- name: πŸ”„ Update submodules
run: |
git submodule foreach git checkout master
git submodule foreach git pull
- name: πŸ“¦ Setup Poetry
uses: ./.github/actions/setup-poetry
with:
python-version: ${{ matrix.python-version }}
install-deps: dev
- name: πŸ§ͺ Run tests with pytest and coverage
run: |
poetry run pytest tests/ -v --tb=short --cov=dotflow --cov-report=xml --cov-report=term-missing
- name: βœ… Test Summary
if: always()
run: |
echo "### Tests Completed βœ…" >> $GITHUB_STEP_SUMMARY
echo "Python Version: ${{ matrix.python-version }}" >> $GITHUB_STEP_SUMMARY