-
Notifications
You must be signed in to change notification settings - Fork 10
42 lines (37 loc) · 900 Bytes
/
ci.yml
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
name: Tests
on:
pull_request:
types: [opened, synchronize, reopened]
push:
branches: [main]
workflow_dispatch:
inputs: {}
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
env:
FORCE_COLOR: "1"
permissions:
contents: read
jobs:
build:
strategy:
matrix:
py_version: ["3.9", "3.10"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Python ${{ matrix.py_version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.py_version }}
- name: Install Tap Airbyte Wrapper
run: |
python -m pip install --upgrade pip poetry
poetry install
- name: Run SDK Tests
run: |
poetry run pytest -k test_core
- name: Run Airbyte Sync Tests
run: |
poetry run pytest -k test_syncs