CI: formatting. NFC
This commit is contained in:
parent
92c80957b3
commit
7f00f4b99d
10
.github/workflows/main.yaml
vendored
10
.github/workflows/main.yaml
vendored
|
@ -1,6 +1,11 @@
|
||||||
on: [push, pull_request, merge_group]
|
on:
|
||||||
|
push:
|
||||||
|
pull_request:
|
||||||
|
merge_group:
|
||||||
|
|
||||||
name: CI
|
name: CI
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
test:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
|
@ -53,6 +58,7 @@ jobs:
|
||||||
unset PYTHONWARNINGS
|
unset PYTHONWARNINGS
|
||||||
sphinx-build -b doctest docs/ docs/_build
|
sphinx-build -b doctest docs/ docs/_build
|
||||||
codecov
|
codecov
|
||||||
|
|
||||||
document:
|
document:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
@ -79,6 +85,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
name: docs
|
name: docs
|
||||||
path: docs/_build
|
path: docs/_build
|
||||||
|
|
||||||
publish-docs:
|
publish-docs:
|
||||||
needs: document
|
needs: document
|
||||||
if: github.repository == 'amaranth-lang/amaranth'
|
if: github.repository == 'amaranth-lang/amaranth'
|
||||||
|
@ -111,6 +118,7 @@ jobs:
|
||||||
branch: main
|
branch: main
|
||||||
folder: docs/
|
folder: docs/
|
||||||
target-folder: docs/amaranth/${{ github.ref_name }}/
|
target-folder: docs/amaranth/${{ github.ref_name }}/
|
||||||
|
|
||||||
publish-docs-dev:
|
publish-docs-dev:
|
||||||
needs: document
|
needs: document
|
||||||
if: github.repository != 'amaranth-lang/amaranth'
|
if: github.repository != 'amaranth-lang/amaranth'
|
||||||
|
|
Loading…
Reference in a new issue