Bumped default skeleton version from 3 to 4. #517
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
# This workflow will install Python dependencies, run tests and lint with a single version of Python | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions | |
name: Development tests | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
# Allows other workflows to trigger this workflow | |
workflow_call: | |
jobs: | |
test: | |
name: Test against different Python versions | |
strategy: | |
matrix: | |
python-version: ["3.9", "3.10", "3.11", "3.12"] | |
os: [ubuntu-latest, windows-latest, macos-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install the latest version of uv | |
id: setup-uv | |
uses: astral-sh/setup-uv@v2 | |
with: | |
version: "0.5.2" | |
- name: Set up venv | |
run: uv sync --python ${{ matrix.python-version }} | |
- name: Test with pytest | |
run: | | |
uvx --from poethepoet poe test | |
- name: Upload to codecov | |
uses: codecov/codecov-action@v2 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} |