-
Notifications
You must be signed in to change notification settings - Fork 2
38 lines (36 loc) · 1006 Bytes
/
pytest.yaml
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
name: pytest
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
defaults:
run:
working-directory: backend/faust
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Ubuntu packages
run: |
sudo apt-get install -y \
build-essential \
curl \
libsnappy-dev \
libbz2-dev \
liblz4-dev \
zlib1g-dev \
python3-rocksdb
- name: Install dependencies
run: |
# The requirements from requirements.base.txt minus rocksdb which
# is install as a debian package above
pip install faust-streaming pydantic[dotenv]==v1.10.10 numpy
pip install -r requirements.job.txt -r requirements.dev.txt
- name: Set PYTHONPATH
run: |
echo "PYTHONPATH=$GITHUB_WORKSPACE/backend/faust" >> $GITHUB_ENV
- name: Run pytest
run: |
pytest