Skip to content

Commit db483a3

Browse files
committed
also run CI tests without installing SSH extras
1 parent abfc624 commit db483a3

2 files changed

Lines changed: 41 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 40 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ on:
77
- 'AUTHORS'
88

99
jobs:
10-
build:
10+
tests:
11+
name: Tests
1112
runs-on: ubuntu-latest
1213

1314
strategy:
@@ -17,6 +18,7 @@ jobs:
1718

1819
steps:
1920
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
21+
2022
- uses: astral-sh/setup-uv@7edac99f961f18b581bbd960d59d049f04c0002f # v6.4.1
2123
with:
2224
version: "latest"
@@ -46,3 +48,40 @@ jobs:
4648
TERM: xterm
4749
run: |
4850
uv run tox -e py${{ matrix.python-version }}
51+
52+
test-no-extras:
53+
name: Tests Without Extras
54+
runs-on: ubuntu-latest
55+
56+
steps:
57+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
58+
59+
- uses: astral-sh/setup-uv@7edac99f961f18b581bbd960d59d049f04c0002f # v6.4.1
60+
with:
61+
version: "latest"
62+
63+
- name: Set up Python ${{ matrix.python-version }}
64+
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
65+
with:
66+
python-version: '3.13'
67+
68+
- name: Start MySQL
69+
run: |
70+
sudo /etc/init.d/mysql start
71+
72+
- name: Install dependencies
73+
run: uv sync --extra dev -p python3.13
74+
75+
- name: Wait for MySQL connection
76+
run: |
77+
while ! mysqladmin ping --host=localhost --port=3306 --user=root --password=root --silent; do
78+
sleep 5
79+
done
80+
81+
- name: Pytest / behave
82+
env:
83+
PYTEST_PASSWORD: root
84+
PYTEST_HOST: 127.0.0.1
85+
TERM: xterm
86+
run: |
87+
uv run tox -e py3.13

changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Internal
1010
* Enable typechecking for several files.
1111
* CI: turn off fail-fast matrix strategy.
1212
* Remove unused Python 2 compatibility code.
13+
* Also run CI tests without installing SSH extra dependencies.
1314

1415

1516
1.36.0 (2025/07/19)

0 commit comments

Comments
 (0)