Skip to content

Commit

Permalink
Revert debug changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
dhermes committed Jun 18, 2024
1 parent 23da3a9 commit 2889190
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 25 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/linux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ on:
push:
branches:
- main
# pull_request:
# branches:
# - main
pull_request:
branches:
- main
schedule:
# Scheduled workflows run on the latest commit on the default or base branch
- cron: "0 0 1 * *"
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/macos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ jobs:
strategy:
matrix:
python-version:
# - "3.9"
# - "3.10"
- "3.9"
- "3.10"
- "3.11"

steps:
Expand Down Expand Up @@ -74,15 +74,15 @@ jobs:
run: |
nox --session unit-3.10
# - name: Unit tests AND line coverage in Python 3.11
# if: matrix.python-version == '3.11'
# run: |
# nox --session cover
- name: Unit tests AND line coverage in Python 3.11
if: matrix.python-version == '3.11'
run: |
nox --session cover
# - name: Functional tests in Python 3.11
# if: matrix.python-version == '3.11'
# run: |
# nox --session functional-3.11
- name: Functional tests in Python 3.11
if: matrix.python-version == '3.11'
run: |
nox --session functional-3.11
- name: Run all doctests
if: matrix.python-version == '3.11'
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ on:
push:
branches:
- main
# pull_request:
# branches:
# - main
pull_request:
branches:
- main
schedule:
# Scheduled workflows run on the latest commit on the default or base branch
- cron: "0 0 1 * *"
Expand Down
11 changes: 2 additions & 9 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -313,13 +313,6 @@ def _macos_doctest_install(session, install_prefix):
*wheels,
)
# 4. Install from the repaired wheel.
### BEGIN: Debug
session.run("ls", "-alFG", repaired_dir, external=True)
session.run("python", "--version")
session.run("python", "-m", "pip", "debug", "--verbose")
session.run("python", "-c", "import sys; print(sys.implementation)")
session.run("python", "-c", "import sysconfig; print(sysconfig.get_platform())")
### END: Debug
session.run(
"python",
"-m",
Expand All @@ -331,8 +324,8 @@ def _macos_doctest_install(session, install_prefix):
repaired_dir,
)
# 5. Clean up temporary directories.
session.run(_SHUTIL_RMTREE_IGNORE_ERRORS, basic_dir)
session.run(_SHUTIL_RMTREE_IGNORE_ERRORS, repaired_dir)
shutil.rmtree(basic_dir, ignore_errors=True)
shutil.rmtree(repaired_dir, ignore_errors=True)


def _windows_doctest_install(session, install_prefix):
Expand Down

0 comments on commit 2889190

Please sign in to comment.