forked from cloudquery/cloudquery
-
Notifications
You must be signed in to change notification settings - Fork 0
49 lines (43 loc) · 1.31 KB
/
dest_sqlite_python.yml
File metadata and controls
49 lines (43 loc) · 1.31 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
name: Destination Plugin SQLite-Python Workflow
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
pull_request:
paths:
- "plugins/destination/sqlite-python/**"
- ".github/workflows/dest_sqlite_python.yml"
push:
branches:
- main
paths:
- "plugins/destination/sqlite-python/**"
- ".github/workflows/dest_sqlite_python.yml"
permissions:
contents: read
jobs:
plugins-destination-sqlite-python:
timeout-minutes: 30
name: "plugins/destination/sqlite-python"
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./plugins/destination/sqlite-python
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- name: Set up Python
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
with:
python-version: '3.11'
- name: Install dependencies
run: |
pip install --upgrade pip
pip install -r requirements.txt
- name: Check formatting
run: make fmt-check
-
# Required for the package command tests to work
name: Set up Docker Buildx
uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3
- name: Run tests
run: make test