Skip to content

Commit 12f0442

Browse files
committed
add tests
1 parent 7bc7b16 commit 12f0442

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/unittests.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Test Python SDK
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches:
7+
- main
8+
9+
jobs:
10+
test-policies:
11+
timeout-minutes: 30
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Checkout
15+
uses: actions/checkout@v3
16+
- uses: actions/setup-python@v4
17+
with:
18+
python-version: "3.9"
19+
cache: "pip"
20+
cache-dependency-path: "./requirements.txt"
21+
- name: Install dependencies
22+
run: pip install -r requirements.txt
23+
- name: Setup CloudQuery
24+
uses: cloudquery/setup-cloudquery@v3
25+
with:
26+
version: "v3.10.1"
27+
- name: Run tests
28+
run: make test

0 commit comments

Comments
 (0)