remove pipenv

This commit is contained in:
Jeong Yunwon
2022-07-17 03:18:53 +09:00
parent d9d453819e
commit 2dd446a80f
8 changed files with 10 additions and 48 deletions

View File

@@ -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
@@ -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

View File

@@ -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

View File

@@ -1,12 +0,0 @@
[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"
[packages]
bytecode = "*"
pytest = "*"
[dev-packages]
[requires]

View File

@@ -0,0 +1,2 @@
bytecode
pytest

View File

@@ -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",

View File

@@ -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",

View File

@@ -1,13 +0,0 @@
[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"
[packages]
pytest = "*"
selenium = "*"
[dev-packages]
[requires]
python_version = "3"

View File

@@ -0,0 +1,2 @@
pytest
selenium