Skip to content

Commit 08da2f8

Browse files
Add python CI support to fivetran sdk (#40)
* T-680639 - Python support in Github action * T-680639 - Python support in Github action * T-680639 - Removed some repetitive pip commands
1 parent d4dc053 commit 08da2f8

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/audit.yml

+26
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,32 @@ jobs:
2525
distribution: 'zulu'
2626
java-version: '17'
2727

28+
- name: Install Python
29+
uses: actions/setup-python@v5
30+
with:
31+
# Fivetran build script requires Python 3.10, not above.
32+
# Testing the destination found that it also requires 3.10, latest does not work.
33+
python-version: '3.10.8'
34+
35+
- name: Install Python dependencies
36+
run: python -m pip install --upgrade pip setuptools wheel
37+
38+
- name: Install Python connector requirements
39+
working-directory: examples/connector/python
40+
run: pip install -r requirements.txt
41+
42+
- name: Run Python connector build script
43+
working-directory: examples/connector/python
44+
run: ./build.sh
45+
46+
- name: Install Python destination requirements
47+
working-directory: examples/destination/python
48+
run: pip install -r requirements.txt
49+
50+
- name: Run Python destination build script
51+
working-directory: examples/destination/python
52+
run: ./build.sh
53+
2854
- name: Set up Go
2955
uses: actions/setup-go@v4
3056
with:

0 commit comments

Comments
 (0)