Skip to content

Add CLI documentation (#301) #1186

Add CLI documentation (#301)

Add CLI documentation (#301) #1186

Workflow file for this run

name: pytests
on:
push:
branches:
- main
pull_request:
jobs:
test:
name: Run tests and collect coverage
runs-on: ubuntu-latest
strategy:
matrix:
python_version: ["3.13", "3.14"]
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 2
- name: Setup Gardenlinux
uses: ./.github/actions/setup
with:
python_version: ${{ matrix.python_version }}
- name: Install dependencies
run: poetry install --with dev
- name: Prepare environment
run: make install-test
- name: Run tests
run: |
export GLOCI_REGISTRY_TOKEN="invalid"
make test-coverage-ci
- name: Check for report
run: test -f coverage.xml
- name: Upload results to Codecov
uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
with:
token: ${{ secrets.CODECOV_TOKEN }}