Skip to content

Commit 14442a5

Browse files
committed
Singer/Meltano: CI adjustments
1 parent 46652c4 commit 14442a5

File tree

2 files changed

+12
-11
lines changed

2 files changed

+12
-11
lines changed

.github/workflows/test-singer-meltano.yml renamed to .github/workflows/framework-singer-meltano.yml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
1-
name: Python SQLAlchemy
1+
name: Singer/Meltano
22

33
on:
44
pull_request:
5-
branches: ~
65
paths:
7-
- '.github/workflows/test-singer-meltano.yml'
6+
- '.github/workflows/framework-singer-meltano.yml'
87
- 'framework/singer-meltano/**'
98
- 'requirements.txt'
109
push:
1110
branches: [ main ]
1211
paths:
13-
- '.github/workflows/test-singer-meltano.yml'
12+
- '.github/workflows/framework-singer-meltano.yml'
1413
- 'framework/singer-meltano/**'
1514
- 'requirements.txt'
1615

@@ -37,7 +36,10 @@ jobs:
3736
fail-fast: false
3837
matrix:
3938
os: [ 'ubuntu-latest' ]
40-
python-version: [ '3.10', '3.11' ]
39+
python-version: [
40+
'3.10',
41+
'3.11',
42+
]
4143
cratedb-version: [ 'nightly' ]
4244

4345
services:
@@ -63,10 +65,9 @@ jobs:
6365
framework/singer-meltano/requirements.txt
6466
framework/singer-meltano/requirements-dev.txt
6567
66-
- name: Install utilities
67-
run: |
68-
pip install -r requirements.txt
68+
- name: Install uv
69+
uses: astral-sh/setup-uv@v7
6970

7071
- name: Validate framework/singer-meltano
7172
run: |
72-
ngr test --accept-no-venv framework/singer-meltano
73+
uv run --with=pueblo ngr test framework/singer-meltano

framework/singer-meltano/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ format = [
99
{ cmd = "black ." },
1010
# Configure Ruff not to auto-fix (remove!):
1111
# unused imports (F401), unused variables (F841), `print` statements (T201), and commented-out code (ERA001).
12-
{ cmd = "ruff --fix --ignore=ERA --ignore=F401 --ignore=F841 --ignore=T20 --ignore=ERA001 ." },
12+
{ cmd = "ruff check --fix --ignore=ERA --ignore=F401 --ignore=F841 --ignore=T20 --ignore=ERA001 ." },
1313
{ cmd = "pyproject-fmt pyproject.toml" },
1414
]
1515

1616
lint = [
17-
{ cmd = "ruff ." },
17+
{ cmd = "ruff check ." },
1818
{ cmd = "black --check ." },
1919
{ cmd = "validate-pyproject pyproject.toml" },
2020
#{ cmd = "mypy" },

0 commit comments

Comments
 (0)