Publish python version change #174
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: Pytest | |
| on: | |
| push: | |
| branches: | |
| - "master" | |
| - "main" | |
| pull_request: | |
| branches: | |
| - "master" | |
| - "main" | |
| workflow_dispatch: | |
| jobs: | |
| tests: | |
| name: Tests | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ["3.9", "3.10", "3.11", "3.x"] | |
| steps: | |
| - name: Check out repository code | |
| uses: actions/checkout@v5 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install Poetry | |
| run: | | |
| python -m pip install --upgrade poetry wheel | |
| - name: Install dependencies | |
| run: | | |
| poetry install --no-cache | |
| - name: Run tests with coverage | |
| run: | | |
| poetry run pytest --cov-report=term-missing:skip-covered --cov=flowpipe tests/ |