File: test-docs.yml

package info (click to toggle)
python-ecs-logging 2.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 344 kB
  • sloc: python: 1,116; sh: 30; makefile: 7
file content (29 lines) | stat: -rw-r--r-- 898 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
---
# This workflow sets the test-docs status check to success in case it's a docs only PR and test.yml is not triggered
# https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/troubleshooting-required-status-checks#handling-skipped-but-required-checks
name: test # The name must be the same as in ci.yml

on:
  pull_request:
    paths-ignore: # This expression needs to match the paths ignored on test.yml.
      - '**'
      - '!**/*.md'
      - '!**/*.asciidoc'

permissions:
  contents: read

jobs:
  lint:
    runs-on: ubuntu-latest
    steps:
    - run: 'echo "No build required"'
  test:
    runs-on: ubuntu-latest
    timeout-minutes: 5
    strategy:
      matrix:
        python: [ '3.8', '3.9', '3.10', '3.11', '3.12', '3.13', '3.14' ]
      fail-fast: false
    steps:
    - run: 'echo "No build required"'