Skip to content

test_eo3converter: mock AWS services #1652

test_eo3converter: mock AWS services

test_eo3converter: mock AWS services #1652

Workflow file for this run

name: Doc QA
on:
# Triggers the workflow on push or pull request events but only for the main branch
push:
branches:
- 'develop'
pull_request:
paths:
- '**'
permissions: {}
# When a PR is updated, cancel the jobs from the previous version. Merges
# do not define head_ref, so use run_id to never cancel those jobs.
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
pyspell:
timeout-minutes: 15
runs-on: ubuntu-latest
steps:
# Spellcheck
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
fetch-depth: 0
doctor-rst:
timeout-minutes: 15
name: Lint (DOCtor-RST)
runs-on: ubuntu-latest
steps:
- name: "Checkout"
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: "Create cache dir"
run: mkdir .cache
- name: "Extract base branch name"
run: echo "branch=${GITHUB_BASE_REF:-${GITHUB_REF##*/}}"
id: extract_base_branch
- name: "Cache DOCtor-RST"
uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
with:
path: .cache
key: doctor-rst-${{ runner.os }}-${{ steps.extract_base_branch.outputs.branch }}
- name: "Run DOCtor-RST"
uses: docker://oskarstark/doctor-rst:1.67.0@sha256:f2f7edaccb98bd664595475cecd62ebbab8d9f68495310f6765cf6f2e6dc5d01
with:
args: --short --error-format=github --cache-file=/github/workspace/.cache/doctor-rst.cache
env:
DOCS_DIR: 'docs/'