Add PDM
This commit is contained in:
parent
bb1646ddc1
commit
3b005b5faf
1 changed files with 7 additions and 4 deletions
11
.github/workflows/test.yml
vendored
11
.github/workflows/test.yml
vendored
|
@ -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
|
||||||
|
@ -53,7 +56,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip setuptools wheel pytest bottle build
|
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…
Reference in a new issue