Skip to content

Redirect PEP 594 dead batteries (part 2) (#521) #40

Redirect PEP 594 dead batteries (part 2) (#521)

Redirect PEP 594 dead batteries (part 2) (#521) #40

name: Test d.p.o redirects
on:
push:
paths:
- ".github/workflows/docs-redirects.yml"
- "salt/docs/**"
- "tests/docs-redirects/**"
pull_request:
paths:
- ".github/workflows/docs-redirects.yml"
- "salt/docs/**"
- "tests/docs-redirects/**"
workflow_dispatch:
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
env:
FORCE_COLOR: "1"
jobs:
docs-redirects:
name: Hurl
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Download Hurl ${{ env.HURL_VERSION }}
run: >
curl --no-progress-meter --location --fail
--proto '=https' --tlsv1.2
--output '/tmp/hurl.deb'
"https://github.com/Orange-OpenSource/hurl/releases/download/${{ env.HURL_VERSION }}/hurl_${{ env.HURL_VERSION }}_amd64.deb"
env:
HURL_VERSION: "5.0.1"
- name: Install Hurl
run: sudo apt install --yes /tmp/hurl.deb
- name: Run tests
run: bash tests/docs-redirects/test.sh