-
Notifications
You must be signed in to change notification settings - Fork 1.7k
48 lines (40 loc) · 872 Bytes
/
imports.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
43
44
45
46
47
48
name: Dependency checker
on:
push:
branches:
- main
# release branches have the form v1.9.x
- 'v[0-9].*[0-9].x'
pull_request:
types:
- opened
- reopened
- synchronize
- ready_for_review
paths:
- "**.py"
- "pyproject.toml"
- "!.github/**/*.py"
- "!rest_api/**/*.py"
- "!test/*"
env:
PYTHON_VERSION: "3.8"
jobs:
base-install:
strategy:
fail-fast: false
matrix:
os:
- macos-latest
- ubuntu-latest
- windows-latest
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Install Haystack with no extras
run: pip install .
- name: Import Haystack
run: python -c 'import haystack'