Skip to content

Commit 8c8f9d4

Browse files
committed
Move tests under pudb module
1 parent 35af796 commit 8c8f9d4

10 files changed

Lines changed: 10 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- name: "Main Script"
2424
run: |
2525
curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/main/prepare-and-run-flake8.sh
26-
. ./prepare-and-run-flake8.sh ./pudb ./test
26+
. ./prepare-and-run-flake8.sh ./pudb
2727
2828
pylint:
2929
name: Pylint
@@ -37,7 +37,7 @@ jobs:
3737
- name: "Main Script"
3838
run: |
3939
curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/master/prepare-and-run-pylint.sh
40-
. ./prepare-and-run-pylint.sh "$(basename $GITHUB_REPOSITORY)" test/test_*.py
40+
. ./prepare-and-run-pylint.sh "$(basename $GITHUB_REPOSITORY)"
4141
4242
pytest:
4343
name: Pytest on Py${{ matrix.python-version }}

.gitlab-ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Python 3:
1717
Flake8:
1818
script:
1919
- curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/main/prepare-and-run-flake8.sh
20-
- ". ./prepare-and-run-flake8.sh pudb test"
20+
- ". ./prepare-and-run-flake8.sh pudb"
2121
tags:
2222
- python3
2323
except:
@@ -35,7 +35,7 @@ Pylint:
3535
script: |
3636
export PY_EXE=python3
3737
curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/master/prepare-and-run-pylint.sh
38-
. ./prepare-and-run-pylint.sh "$CI_PROJECT_NAME" test/test_*.py
38+
. ./prepare-and-run-pylint.sh "$CI_PROJECT_NAME"
3939
tags:
4040
- python3
4141
except:
File renamed without changes.
File renamed without changes.

pyproject.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[tool.pytest.ini_options]
2+
3+
addopts = [
4+
"--ignore=pudb/b.py",
5+
"--ignore=pudb/ipython.py",
6+
]

0 commit comments

Comments
 (0)