mirror of
https://github.com/pirate/ArchiveBox.git
synced 2025-08-29 17:19:53 +02:00
tests: Add readability steps to CI
This commit is contained in:
16
.github/workflows/test.yml
vendored
16
.github/workflows/test.yml
vendored
@@ -56,6 +56,22 @@ jobs:
|
|||||||
- name: Set SINGLEFILE_BINARY
|
- name: Set SINGLEFILE_BINARY
|
||||||
run: echo "::set-env name=SINGLEFILE_BINARY::$GITHUB_WORKSPACE/singlefile/cli/single-file"
|
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 }}
|
- name: Set up Python ${{ matrix.python }}
|
||||||
uses: actions/setup-python@v1
|
uses: actions/setup-python@v1
|
||||||
with:
|
with:
|
||||||
|
Reference in New Issue
Block a user