Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add make ci target and a NEWS entry
  • Loading branch information
sobolevn committed Oct 21, 2024
commit 3bf42ab2cffec0cdb76f3d5cba20ebcbd287eff4
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ jobs:
- name: Display build info
run: make pythoninfo
- name: Tests
run: xvfb-run make test TESTOPTS="-ugui"
run: xvfb-run make ci

build_tsan:
name: 'Thread sanitizer'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reusable-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,4 @@ jobs:
--fail-on-improvement
--path-prefix="./"
- name: Tests
run: make test TESTOPTS="-ugui"
run: make ci
2 changes: 1 addition & 1 deletion .github/workflows/reusable-ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,4 +105,4 @@ jobs:
run: sudo mount $CPYTHON_RO_SRCDIR -oremount,rw
- name: Tests
working-directory: ${{ env.CPYTHON_BUILDDIR }}
run: xvfb-run make test TESTOPTS="-ugui"
run: xvfb-run make ci
6 changes: 6 additions & 0 deletions Makefile.pre.in
Original file line number Diff line number Diff line change
Expand Up @@ -2099,6 +2099,12 @@ cleantest: all
test: all
$(TESTRUNNER) --fast-ci -u-gui --timeout=$(TESTTIMEOUT) $(TESTOPTS)

# Run a basic set of regression tests inside the CI.
# This excludes some tests that are particularly resource-intensive.
# Similar to test, but also runs GUI tests.
ci: all
Comment thread
sobolevn marked this conversation as resolved.
$(MAKE) test TESTOPTS="-ugui"
Comment thread
sobolevn marked this conversation as resolved.
Outdated

# Run the test suite for both architectures in a Universal build on OSX.
# Must be run on an Intel box.
.PHONY: testuniversal
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Change ``make test`` to not run GUI tests by default. Use ``make ci`` to run
tests with GUI tests instead.