-
Notifications
You must be signed in to change notification settings - Fork 12
49 lines (44 loc) · 1.23 KB
/
ci.yml
File metadata and controls
49 lines (44 loc) · 1.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
### A CI workflow template that runs linting and python testing
### TODO: Modify as needed or as desired.
name: Test target-redshift
permissions:
contents: read
on:
pull_request:
types: ["opened", "synchronize", "reopened"]
jobs:
linter:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: chartboost/ruff-action@v1
with:
version: 0.1.6
verify-install:
name: Verify Installation
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version:
- "3.9"
- "3.10"
- "3.11"
- "3.12"
- "3.13"
steps:
- uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493 # v5.0.0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
with:
python-version: ${{ matrix.python-version }}
- name: Setup uv
uses: astral-sh/setup-uv@85856786d1ce8acfbcc2f13a5f3fbd6b938f9f41 # v7.1.2
with:
version: ">=0.7"
- name: Install Meltano
run: |
uv tool install meltano
meltano --version
- name: Install target-redshift
run: uv run meltano install target-redshift --clean