From 4d44b172e67e23fd6a2fb835b9d6547900701ff0 Mon Sep 17 00:00:00 2001 From: Cristian Date: Tue, 11 Aug 2020 11:58:17 -0500 Subject: [PATCH] tests: Add readability steps to CI --- .github/workflows/test.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 65ba19a6..d0f70e93 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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: