Skip to content

Commit

Permalink
Move tests under pudb module
Browse files Browse the repository at this point in the history
  • Loading branch information
inducer committed Oct 16, 2023
1 parent 35af796 commit 8c8f9d4
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: "Main Script"
run: |
curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/main/prepare-and-run-flake8.sh
. ./prepare-and-run-flake8.sh ./pudb ./test
. ./prepare-and-run-flake8.sh ./pudb
pylint:
name: Pylint
Expand All @@ -37,7 +37,7 @@ jobs:
- name: "Main Script"
run: |
curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/master/prepare-and-run-pylint.sh
. ./prepare-and-run-pylint.sh "$(basename $GITHUB_REPOSITORY)" test/test_*.py
. ./prepare-and-run-pylint.sh "$(basename $GITHUB_REPOSITORY)"
pytest:
name: Pytest on Py${{ matrix.python-version }}
Expand Down
4 changes: 2 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Python 3:
Flake8:
script:
- curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/main/prepare-and-run-flake8.sh
- ". ./prepare-and-run-flake8.sh pudb test"
- ". ./prepare-and-run-flake8.sh pudb"
tags:
- python3
except:
Expand All @@ -35,7 +35,7 @@ Pylint:
script: |
export PY_EXE=python3
curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/master/prepare-and-run-pylint.sh
. ./prepare-and-run-pylint.sh "$CI_PROJECT_NAME" test/test_*.py
. ./prepare-and-run-pylint.sh "$CI_PROJECT_NAME"
tags:
- python3
except:
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 6 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[tool.pytest.ini_options]

addopts = [
"--ignore=pudb/b.py",
"--ignore=pudb/ipython.py",
]

0 comments on commit 8c8f9d4

Please sign in to comment.