mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-28 13:44:14 -04:00
Merge pull request #1255 from c01o/fix_python_test
This commit is contained in:
commit
8467d89400
1 changed files with 9 additions and 6 deletions
15
.github/workflows/test.yml
vendored
15
.github/workflows/test.yml
vendored
|
@ -14,7 +14,7 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-20.04, macos-latest, windows-latest]
|
os: [ubuntu-20.04, macos-latest, windows-latest]
|
||||||
python: [3.7]
|
python: [3.9]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
@ -24,15 +24,18 @@ jobs:
|
||||||
|
|
||||||
### Setup Python & JS Languages
|
### Setup Python & JS Languages
|
||||||
- name: Set up Python ${{ matrix.python }}
|
- name: Set up Python ${{ matrix.python }}
|
||||||
uses: actions/setup-python@v1
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: ${{ matrix.python }}
|
python-version: ${{ matrix.python }}
|
||||||
architecture: x64
|
architecture: x64
|
||||||
|
|
||||||
- name: Set up Node JS 14.7.0
|
- name: Set up Node JS 14.7.0
|
||||||
uses: actions/setup-node@v1
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: 14.7.0
|
node-version: 18.12.0
|
||||||
|
|
||||||
|
- name: Setup PDM
|
||||||
|
uses: pdm-project/setup-pdm@v3
|
||||||
|
|
||||||
### Install Python & JS Dependencies
|
### Install Python & JS Dependencies
|
||||||
- name: Get pip cache dir
|
- name: Get pip cache dir
|
||||||
|
@ -51,9 +54,9 @@ jobs:
|
||||||
|
|
||||||
- name: Install pip dependencies
|
- name: Install pip dependencies
|
||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip setuptools wheel pytest bottle
|
python -m pip install --upgrade pip setuptools wheel pytest bottle build
|
||||||
./bin/build_pip.sh
|
./bin/build_pip.sh
|
||||||
python -m pip install .
|
pdm install
|
||||||
|
|
||||||
- name: Get npm cache dir
|
- name: Get npm cache dir
|
||||||
id: npm-cache
|
id: npm-cache
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue