Skip to content

py 1.14

py 1.14 #2

Workflow file for this run

name: CI
on:
push:
branches: [ main, master ]
pull_request:
branches: [ main, master ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.14]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Cache pip
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/pyproject.toml') }}
- name: Install dependencies
run: python -m pip install --upgrade pip build
- name: Install package and test deps
run: python -m pip install -e ".[testing]"
- name: Run tests
run: pytest -q --cov=GabesPythonToolBox --cov-report=xml
- name: Upload coverage to artifact
uses: actions/upload-artifact@v4
with:
name: coverage-xml
path: coverage.xml