FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
matplotlib/.github/workflows/circleci.yml at master · ocastany/matplotlib · GitHub
ocastany
matplotlib
Repository navigation
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
matplotlib
/
.github
/
workflows
/
circleci.yml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
69 lines (65 loc) · 2.47 KB
Breadcrumbs
matplotlib
/
.github
/
workflows
/
circleci.yml
Copy path
File metadata and controls
69 lines (65 loc) · 2.47 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
---
name
:
"
CircleCI artifact handling
"
on
:
[status]
jobs
:
circleci_artifacts_redirector_job
:
if
:
"
${{ github.event.context == 'ci/circleci: docs-python38' }}
"
permissions
:
statuses
:
write
runs-on
:
ubuntu-latest
name
:
Run CircleCI artifacts redirector
steps
:
-
name
:
GitHub Action step
uses
:
larsoner/circleci-artifacts-redirector-action@master
with
:
repo-token
:
${{ secrets.GITHUB_TOKEN }}
artifact-path
:
0/doc/build/html/index.html
circleci-jobs
:
docs-python38
job-title
:
View the built docs
post_warnings_as_review
:
if
:
"
${{ github.event.context == 'ci/circleci: docs-python38' }}
"
permissions
:
contents
:
read
checks
:
write
pull-requests
:
write
runs-on
:
ubuntu-latest
name
:
Post warnings/errors as review
steps
:
-
uses
:
actions/checkout@v3
-
name
:
Fetch result artifacts
id
:
fetch-artifacts
run
:
|
python .circleci/fetch_doc_logs.py "${{ github.event.target_url }}"
-
name
:
Set up reviewdog
if
:
"
${{ steps.fetch-artifacts.outputs.count != 0 }}
"
uses
:
reviewdog/action-setup@v1
with
:
reviewdog_version
:
latest
-
name
:
Post review
if
:
"
${{ steps.fetch-artifacts.outputs.count != 0 }}
"
env
:
REVIEWDOG_GITHUB_API_TOKEN
:
${{ secrets.GITHUB_TOKEN }}
REVIEWDOG_SKIP_DOGHOUSE
:
"
true
"
CI_COMMIT
:
${{ github.event.sha }}
CI_REPO_OWNER
:
${{ github.event.repository.owner.login }}
CI_REPO_NAME
:
${{ github.event.repository.name }}
run
:
|
# The 'status' event does not contain information in the way that
# reviewdog expects, so we unset those so it reads from the
# environment variables we set above.
unset GITHUB_ACTIONS GITHUB_EVENT_PATH
cat logs/sphinx-errors-warnings.log | \
reviewdog \
-efm '%f\:%l: %tEBUG: %m' \
-efm '%f\:%l: %tNFO: %m' \
-efm '%f\:%l: %tARNING: %m' \
-efm '%f\:%l: %tRROR: %m' \
-efm '%f\:%l: %tEVERE: %m' \
-efm '%f\:%s: %tARNING: %m' \
-efm '%f\:%s: %tRROR: %m' \
-name=sphinx -tee -fail-on-error=false \
-reporter=github-check -filter-mode=nofilter
cat logs/sphinx-deprecations.log | \
reviewdog \
-efm '%f\:%l: %m' \
-name=examples -tee -reporter=github-check -filter-mode=nofilter
Back
|
FazBrowse Home
|
New Git URL