Skip to content

Commit dda2ae1

Browse files
bsamuel-uiAubtin
authored andcommitted
Platform specific steps; deasync is dumping core
- Use tape-promise and async tests.
1 parent dab4286 commit dda2ae1

File tree

3 files changed

+1039
-927
lines changed

3 files changed

+1039
-927
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -30,23 +30,15 @@ jobs:
3030
with:
3131
node-version: ${{ matrix.node-version }}
3232

33-
- name: Check python is available
33+
- name: Check python version
3434
run: |
35-
echo "PYTHON"
3635
python --version
37-
echo "PYTHONX.X"
38-
python${{ matrix.python-version}} --version
39-
echo "PIP"
40-
pip --version
41-
echo "PIPX.X"
42-
pip${{matrix.python-version}} --version
43-
echo "ok"
4436
4537
- name: Install setuptools
46-
run: python${{ matrix.python-version }} -m pip install setuptools wheel
38+
run: python -m pip install setuptools wheel
4739

4840
- name: Install pipenv / poetry
49-
run: python${{ matrix.python-version }} -m pip install pipenv poetry
41+
run: python -m pip install pipenv poetry
5042

5143
- name: Install serverless
5244
run: npm install -g serverless
@@ -62,6 +54,6 @@ jobs:
6254
- name: Test
6355
run: npm run test
6456
env:
65-
USE_PYTHON: ${{ matrix.python-version }}
57+
USE_PYTHON: python
6658
LC_ALL: C.UTF-8
6759
LANG: C.UTF-8

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@
4747
"eslint": "^6.8.0",
4848
"prettier": "^1",
4949
"cross-spawn": "*",
50-
"deasync-promise": "*",
5150
"tape": "*",
51+
"tape-promise": "*",
5252
"lodash": "^4.16.15"
5353
},
5454
"dependencies": {

0 commit comments

Comments
 (0)