Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 2 additions & 14 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -165,15 +165,8 @@ jobs:
- uses: actions/setup-python@v2
with:
python-version: "3.10"
- name: Install pipenv
run: |
python -V
python -m pip install --upgrade pip
python -m pip install pipenv
- run: pipenv install --python "3.10"
working-directory: ./extra_tests
- name: run snippets
run: pipenv run pytest -v
run: python -m pip install -r requirements.txt && pytest -v
working-directory: ./extra_tests
- if: runner.os == 'Linux'
name: run cpython platform-independent tests
Expand Down Expand Up @@ -277,12 +270,7 @@ jobs:
- uses: actions/setup-python@v2
with:
python-version: "3.10"
- name: Install pipenv
run: |
python -V
python -m pip install --upgrade pip
python -m pip install pipenv
- run: pipenv install
- run: python -m pip install -r requirements.txt
working-directory: ./wasm/tests
- uses: actions/setup-node@v1
- name: run test
Expand Down
9 changes: 2 additions & 7 deletions .github/workflows/cron-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,10 @@ jobs:
- uses: actions/setup-python@v2
with:
python-version: "3.10"
- name: Install pipenv
run: |
python -V
python -m pip install --upgrade pip
python -m pip install pipenv
- run: pipenv install
- run: python -m pip install pytest
working-directory: ./extra_tests
- name: run snippets
run: LLVM_PROFILE_FILE="$PWD/snippet-%p.profraw" pipenv run pytest -v
run: LLVM_PROFILE_FILE="$PWD/snippet-%p.profraw" pytest -v
working-directory: ./extra_tests
- name: run cpython tests
run: LLVM_PROFILE_FILE="$PWD/regrtest.profraw" target/release/rustpython -m test -v
Expand Down
12 changes: 0 additions & 12 deletions extra_tests/Pipfile

This file was deleted.

2 changes: 2 additions & 0 deletions extra_tests/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
bytecode
pytest
2 changes: 1 addition & 1 deletion wasm/demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"dev": "webpack-dev-server -d",
"build": "webpack",
"dist": "webpack --mode production",
"test": "webpack --mode production && cd ../tests && pipenv run pytest"
"test": "webpack --mode production && cd ../tests && pytest"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion wasm/notebook/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"dev": "webpack-dev-server -d",
"build": "webpack",
"dist": "webpack --mode production",
"test": "webpack --mode production && cd ../tests && pipenv run pytest"
"test": "webpack --mode production && cd ../tests && pytest"
},
"repository": {
"type": "git",
Expand Down
13 changes: 0 additions & 13 deletions wasm/tests/Pipfile

This file was deleted.

2 changes: 2 additions & 0 deletions wasm/tests/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
pytest
selenium