🪲 BUG-#246: Run background cleanup regardless of config #264
Workflow file for this run
This file contains hidden or 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: 🧪 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 |