-
Notifications
You must be signed in to change notification settings - Fork 655
44 lines (39 loc) · 1.07 KB
/
Copy pathtest-integrations.yml
File metadata and controls
44 lines (39 loc) · 1.07 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
name: Test Integration Packages
on:
pull_request:
paths:
- 'integrations/python/**'
push:
branches: [main]
paths:
- 'integrations/python/**'
jobs:
detect-changes:
runs-on: ubuntu-latest
outputs:
packages: ${{ steps.changes.outputs.changes }}
steps:
- uses: actions/checkout@v4
- uses: dorny/paths-filter@v3
id: changes
with:
filters: |
autogen:
- 'integrations/python/zep_autogen/**'
crewai:
- 'integrations/python/zep_crewai/**'
test:
runs-on: ubuntu-latest
needs: detect-changes
if: needs.detect-changes.outputs.packages != '[]'
strategy:
matrix:
package: ${{ fromJSON(needs.detect-changes.outputs.packages) }}
python-version: ["3.10", "3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v4
- name: Test integration package
uses: ./.github/actions/test-integration
with:
package: ${{ matrix.package }}
python-version: ${{ matrix.python-version }}