Skip to content

Commit af080d9

Browse files
committed
chore: make integration test CI job run faster
1 parent e4a557b commit af080d9

3 files changed

Lines changed: 31 additions & 14 deletions

File tree

.github/workflows/integration-tests.yml

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,10 @@ name: Integration Tests
22

33
on:
44
pull_request:
5-
push:
6-
branches:
7-
- '*'
8-
tags-ignore:
9-
- '**'
5+
6+
concurrency:
7+
group: ${{ github.workflow }}-${{ github.ref }}
8+
cancel-in-progress: true
109

1110
jobs:
1211
integration-tests:
@@ -18,12 +17,11 @@ jobs:
1817

1918
- name: Install the latest version of uv
2019
uses: astral-sh/setup-uv@v6
21-
22-
- name: Build Tower CLI
23-
run: cargo build
20+
with:
21+
enable-cache: true
2422

2523
- name: Install Python dependencies
26-
run: uv sync --locked --group dev
24+
run: uv sync --locked --group test
2725

2826
- name: Run integration tests
29-
run: tests/integration/run_tests.py --color always
27+
run: tests/integration/run_tests.py --format progress3 --color always

pyproject.toml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,16 +93,19 @@ extend-exclude = '''
9393
'''
9494

9595
[dependency-groups]
96-
dev = [
96+
test = [
9797
"aiohttp==3.10.11",
9898
"behave==1.3.3",
99-
"black==24.10.0",
10099
"mcp>=1.1.0; python_version>='3.10'",
101-
"openapi-python-client==0.24.3",
102-
"pre-commit==4.0.1",
103100
"pytest==8.3.5",
104101
"pytest-httpx==0.35.0",
105102
"pytest-env>=1.1.3",
103+
]
104+
dev = [
105+
{ include-group = "test" },
106+
"black==24.10.0",
107+
"openapi-python-client==0.24.3",
108+
"pre-commit==4.0.1",
106109
"pyiceberg[sql-sqlite]==0.9.1",
107110
"tower[iceberg]",
108111
]

uv.lock

Lines changed: 16 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)