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 .