mirror of
https://github.com/kevinveenbirkenbach/cli-gnome-extension-manager.git
synced 2026-08-16 19:52:49 +00:00
Bumps the actions group with 2 updates: [actions/checkout](https://github.com/actions/checkout) and [actions/setup-python](https://github.com/actions/setup-python). Updates `actions/checkout` from 4 to 7 - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v4...v7) Updates `actions/setup-python` from 5 to 7 - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](https://github.com/actions/setup-python/compare/v5...v7) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions - dependency-name: actions/setup-python dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions ... Signed-off-by: dependabot[bot] <support@github.com>
81 lines
1.5 KiB
YAML
81 lines
1.5 KiB
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
pull_request:
|
|
|
|
jobs:
|
|
test-and-lint:
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 15
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v7
|
|
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v7
|
|
with:
|
|
python-version: "3.12"
|
|
cache: "pip"
|
|
|
|
- name: Install package and tooling
|
|
shell: bash
|
|
run: |
|
|
set -euo pipefail
|
|
python -m pip install --upgrade pip
|
|
python -m pip install -e .
|
|
python -m pip install ruff
|
|
|
|
- name: Ruff (lint)
|
|
shell: bash
|
|
run: |
|
|
set -euo pipefail
|
|
ruff check .
|
|
|
|
- name: Ruff (format check)
|
|
shell: bash
|
|
run: |
|
|
set -euo pipefail
|
|
ruff format --check .
|
|
|
|
- name: Unit tests
|
|
shell: bash
|
|
run: |
|
|
set -euo pipefail
|
|
make test-unit
|
|
|
|
- name: Integration tests
|
|
shell: bash
|
|
run: |
|
|
set -euo pipefail
|
|
make test-integration
|
|
|
|
docs:
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 15
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v7
|
|
|
|
- name: Markdown and mermaid lint
|
|
shell: bash
|
|
run: |
|
|
set -euo pipefail
|
|
make lint-docs
|
|
|
|
e2e:
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 20
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v7
|
|
|
|
- name: End-to-end tests in a container
|
|
shell: bash
|
|
run: |
|
|
set -euo pipefail
|
|
make test-e2e
|