Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 11 additions & 23 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Install developer dependencies
run: |
python3 -m pip install -U pip
python3 -m pip install -U pytest pytest-runner flake8
python3 -m pip install -U pytest pytest-runner

- name: Install sphinx dependencies
run:
Expand All @@ -39,9 +39,6 @@ jobs:
working-directory: docs
run: make man

- name: Lint codebase
run: python3 -m flake8

- name: Run test suite
run: python3 -m pytest tests/

Expand Down Expand Up @@ -72,7 +69,7 @@ jobs:
- name: Install developer dependencies
run: |
python3 -m pip install -U pip
python3 -m pip install -U pytest pytest-runner flake8
python3 -m pip install -U pytest pytest-runner

- name: Install sphinx dependencies
run: |
Expand All @@ -87,9 +84,6 @@ jobs:
working-directory: docs
run: make man

- name: Lint codebase
run: python3 -m flake8

- name: Run test suite
run: python3 -m pytest tests/

Expand Down Expand Up @@ -120,7 +114,7 @@ jobs:
- name: Install developer dependencies
run: |
python3 -m pip install -U pip
python3 -m pip install -U pytest pytest-runner flake8
python3 -m pip install -U pytest pytest-runner

- name: Install sphinx dependencies
run: |
Expand All @@ -134,9 +128,6 @@ jobs:
working-directory: docs
run: make man

- name: Lint codebase
run: python3 -m flake8

- name: Run test suite
run: python3 -m pytest tests/

Expand All @@ -151,34 +142,31 @@ jobs:

permissions:
contents: read

strategy:
matrix:
python-version: ['3.11', '3.12', '3.13']

steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
with:
python-version: ${{ matrix.python-version }}

- name: Install developer dependencies
run: |
python3 -m pip install -U pip
python3 -m pip install -U pytest pytest-runner flake8
python3 -m pip install -U pytest pytest-runner

- name: Install tldr dependencies
run:
python3 -m pip install -r requirements.txt --user

- name: Lint codebase
run: python3 -m flake8


- name: Run test suite
run: python3 -m pytest tests/

- name: Test tldr cli
run: |
python3 -m pip install .
Expand Down
Loading