mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-17 00:24:26 -04:00
tests: Add singlefile steps
This commit is contained in:
parent
5429096c30
commit
02afd948dc
1 changed files with 24 additions and 0 deletions
24
.github/workflows/test.yml
vendored
24
.github/workflows/test.yml
vendored
|
@ -40,6 +40,22 @@ jobs:
|
||||||
with:
|
with:
|
||||||
fetch-depth: 1
|
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 }}
|
- name: Set up Python ${{ matrix.python }}
|
||||||
uses: actions/setup-python@v1
|
uses: actions/setup-python@v1
|
||||||
with:
|
with:
|
||||||
|
@ -55,6 +71,14 @@ jobs:
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-${{ matrix.python }}-venv-
|
${{ 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
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
python -m pip install .
|
python -m pip install .
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue