Remove tests that should fail
This commit is contained in:
parent
5e2245cc23
commit
4e39b768c7
11 changed files with 0 additions and 123 deletions
18
.github/workflows/python-deps.yml
vendored
18
.github/workflows/python-deps.yml
vendored
|
|
@ -37,24 +37,6 @@ jobs:
|
||||||
- test_dir: python-setup/tests/requirements/non-standard-location
|
- test_dir: python-setup/tests/requirements/non-standard-location
|
||||||
test_script: test -z $LGTM_INDEX_IMPORT_PATH
|
test_script: test -z $LGTM_INDEX_IMPORT_PATH
|
||||||
|
|
||||||
# All of these should fail
|
|
||||||
- test_dir: python-setup/tests/pipenv/python-version-not-available
|
|
||||||
test_script: /bin/false
|
|
||||||
- test_dir: python-setup/tests/poetry/python-version-not-available
|
|
||||||
test_script: /bin/false
|
|
||||||
- test_dir: python-setup/tests/requirements/invalid-package
|
|
||||||
test_script: /bin/false
|
|
||||||
- test_dir: python-setup/tests/requirements/invalid-version
|
|
||||||
test_script: /bin/false
|
|
||||||
- test_dir: python-setup/tests/setup_py/invalid-version
|
|
||||||
test_script: /bin/false
|
|
||||||
- test_dir: python-setup/tests/setup_py/invalid-file
|
|
||||||
test_script: /bin/false
|
|
||||||
- test_dir: python-setup/tests/setup_py/extra-require-not-installed
|
|
||||||
test_script: $GITHUB_WORKSPACE/python-setup/tests/check_requests_123.sh 3
|
|
||||||
- test_dir: python-setup/tests/setup_py/wrong-python-version
|
|
||||||
test_script: /bin/false
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
|
||||||
|
|
@ -1,12 +0,0 @@
|
||||||
[[source]]
|
|
||||||
name = "pypi"
|
|
||||||
url = "https://pypi.org/simple"
|
|
||||||
verify_ssl = true
|
|
||||||
|
|
||||||
[dev-packages]
|
|
||||||
|
|
||||||
[packages]
|
|
||||||
requests = "*"
|
|
||||||
|
|
||||||
[requires]
|
|
||||||
python_version = "3.100"
|
|
||||||
|
|
@ -1,28 +0,0 @@
|
||||||
{
|
|
||||||
"_meta": {
|
|
||||||
"hash": {
|
|
||||||
"sha256": "2296b1fab66570fa3660c5e6a4e923332dcd7785814624c584be6623bc62c0e7"
|
|
||||||
},
|
|
||||||
"pipfile-spec": 6,
|
|
||||||
"requires": {
|
|
||||||
"python_version": "3.8"
|
|
||||||
},
|
|
||||||
"sources": [
|
|
||||||
{
|
|
||||||
"name": "pypi",
|
|
||||||
"url": "https://pypi.org/simple",
|
|
||||||
"verify_ssl": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"default": {
|
|
||||||
"requests": {
|
|
||||||
"hashes": [
|
|
||||||
"sha256:156bf3ec27ba9ec7e0cf8fbe02808718099d218de403eb64a714d73ba1a29ab1"
|
|
||||||
],
|
|
||||||
"index": "pypi",
|
|
||||||
"version": "==1.2.3"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"develop": {}
|
|
||||||
}
|
|
||||||
|
|
@ -1,16 +0,0 @@
|
||||||
[[package]]
|
|
||||||
category = "main"
|
|
||||||
description = "Python HTTP for Humans."
|
|
||||||
name = "requests"
|
|
||||||
optional = false
|
|
||||||
python-versions = "^3.100"
|
|
||||||
version = "1.2.3"
|
|
||||||
|
|
||||||
[metadata]
|
|
||||||
content-hash = "b1abdce30bbdad3ac786dafe6840129df522cae3c5988f9ba8061320e3c1a34e"
|
|
||||||
python-versions = "^3.100"
|
|
||||||
|
|
||||||
[metadata.files]
|
|
||||||
requests = [
|
|
||||||
{file = "requests-1.2.3.tar.gz", hash = "sha256:156bf3ec27ba9ec7e0cf8fbe02808718099d218de403eb64a714d73ba1a29ab1"},
|
|
||||||
]
|
|
||||||
|
|
@ -1,15 +0,0 @@
|
||||||
[tool.poetry]
|
|
||||||
name = "autoinstall-test"
|
|
||||||
version = "0.1.0"
|
|
||||||
description = ""
|
|
||||||
authors = ["Your Name <you@example.com>"]
|
|
||||||
|
|
||||||
[tool.poetry.dependencies]
|
|
||||||
python = "^3.100"
|
|
||||||
requests = "*"
|
|
||||||
|
|
||||||
[tool.poetry.dev-dependencies]
|
|
||||||
|
|
||||||
[build-system]
|
|
||||||
requires = ["poetry>=0.12"]
|
|
||||||
build-backend = "poetry.masonry.api"
|
|
||||||
|
|
@ -1,2 +0,0 @@
|
||||||
# non-existing package
|
|
||||||
ajsdiofjasodinfkajsndfoiuqwhefoanisdfojnasdofas
|
|
||||||
|
|
@ -1,2 +0,0 @@
|
||||||
# valid package with invalid version
|
|
||||||
requests==10000
|
|
||||||
|
|
@ -1,11 +0,0 @@
|
||||||
from setuptools import setup
|
|
||||||
|
|
||||||
# has fake Trove classifier to fool Python extractor to believe this is Python 3 for sure
|
|
||||||
|
|
||||||
# Programming Language :: Python :: 3.7
|
|
||||||
|
|
||||||
setup(
|
|
||||||
name="example-setup.py",
|
|
||||||
install_requires=[],
|
|
||||||
extras_require={"all": ["requests==1.2.3"]}
|
|
||||||
)
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
raise Exception("some kind of error")
|
|
||||||
|
|
@ -1,6 +0,0 @@
|
||||||
from setuptools import setup
|
|
||||||
|
|
||||||
setup(
|
|
||||||
name="example-setup.py",
|
|
||||||
install_requires=["requests==10000"],
|
|
||||||
)
|
|
||||||
|
|
@ -1,12 +0,0 @@
|
||||||
from setuptools import setup
|
|
||||||
|
|
||||||
# has fake Trove classifier to fool Python extractor to believe this is Python 3 for sure
|
|
||||||
|
|
||||||
# Programming Language :: Python :: 3.7
|
|
||||||
|
|
||||||
|
|
||||||
setup(
|
|
||||||
name="example-setup.py",
|
|
||||||
install_requires=["requests==1.2.3"],
|
|
||||||
python_requires=">=2.7, <3",
|
|
||||||
)
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue