From 02afd948dc35f079a63807f1145f2ff3efc697f2 Mon Sep 17 00:00:00 2001 From: Cristian Date: Tue, 4 Aug 2020 09:01:17 -0500 Subject: [PATCH] tests: Add singlefile steps --- .github/workflows/test.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9fccf5da..117a760a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -40,6 +40,22 @@ jobs: with: fetch-depth: 1 + - uses: actions/checkout@v2 + with: + fetch-depth: 1 + repository: "gildas-lormeau/SingleFile" + ref: "master" + path: "singlefile" + + - name: Install npm requirements for singlefile + run: npm install --prefix singlefile/cli + + - name: Give singlefile execution permissions + run: chmod +x singlefile/cli/single-file + + - name: Add singlefile cli folder to path + run: echo "::add-path::$GITHUB_WORKSPACE/singlefile/cli" + - name: Set up Python ${{ matrix.python }} uses: actions/setup-python@v1 with: @@ -55,6 +71,14 @@ jobs: restore-keys: | ${{ runner.os }}-${{ matrix.python }}-venv- + - name: Use nodejs 14.7.0 + uses: actions/setup-node@v1 + with: + node-version: 14.7.0 + + - name: Debug + run: ls ./ + - name: Install dependencies run: | python -m pip install .