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 3a473ef
Show file tree
Hide file tree
Showing 10 changed files with 7 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.
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[tool.pytest.ini_options]

collect_ignore = ["pudb/b.py"]

0 comments on commit 3a473ef

Please sign in to comment.