mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-14 15:14:31 -04:00
tests: Add readability steps to CI
This commit is contained in:
parent
5dc7e63792
commit
4d44b172e6
1 changed files with 16 additions and 0 deletions
16
.github/workflows/test.yml
vendored
16
.github/workflows/test.yml
vendored
|
@ -56,6 +56,22 @@ jobs:
|
|||
- name: Set SINGLEFILE_BINARY
|
||||
run: echo "::set-env name=SINGLEFILE_BINARY::$GITHUB_WORKSPACE/singlefile/cli/single-file"
|
||||
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 1
|
||||
repository: "pirate/readability-extractor"
|
||||
ref: "master"
|
||||
path: "readability-extractor"
|
||||
|
||||
- name: Install npm requirements for readability
|
||||
run: npm install --prefix readability-extractor
|
||||
|
||||
- name: Give readability-extractor execution permissions
|
||||
run: chmod +x readability-extractor/readability-extractor
|
||||
|
||||
- name: Set READABILITY_BINARY
|
||||
run: echo "::set-env name=READABILITY_BINARY::$GITHUB_WORKSPACE/readability-extractor/readability-extractor"
|
||||
|
||||
- name: Set up Python ${{ matrix.python }}
|
||||
uses: actions/setup-python@v1
|
||||
with:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue