Skip to content

chore(deps-dev): bump ruff from 0.14.7 to 0.14.8 #252

chore(deps-dev): bump ruff from 0.14.7 to 0.14.8

chore(deps-dev): bump ruff from 0.14.7 to 0.14.8 #252

Workflow file for this run

name: test
on: [push, pull_request]
permissions:
contents: read
jobs:
unit:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v6
- name: Use Python
uses: actions/setup-python@v6
with:
cache: pip
python-version: 3
- name: Install dependencies
run: pip install -e .[test]
- name: Run tests and collect coverage
run: |
coverage run -m pytest
coverage report
coverage xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
install:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v6
- name: Use Python
uses: actions/setup-python@v6
with:
cache: pip
python-version: 3
- name: Install package
run: pipx install .
- name: Check version
run: |
version=$(grep version src/python_cli_template/__init__.py | cut -d'"' -f 2)
set -e
[[ $(python_cli_template --version) == $version ]]
[[ $(python_cli_template -v) == $version ]]
- name: Get help
run: python_cli_template --help
integration:
runs-on: ubuntu-latest
strategy:
matrix:
command:
- python_cli_template
- python_cli_template --name test
steps:
- name: Checkout repository
uses: actions/checkout@v6
- name: Use Python
uses: actions/setup-python@v6
with:
cache: pip
python-version: 3
- name: Install package
run: pipx install .
- name: Run command
run: ${{ matrix.command }}