Skip to content

Commit 7513058

Browse files
committed
feat: update test workflows to trigger on master branch and add pytest testing workflow
1 parent a616465 commit 7513058

2 files changed

Lines changed: 24 additions & 2 deletions

File tree

.github/workflows/pytest-tests.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Pytest Tests
2+
3+
on:
4+
push:
5+
branches:
6+
- e2e-add-kafka-fix
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v2
13+
- name: Install Python
14+
uses: actions/setup-python@v2
15+
with:
16+
python-version: "3.9"
17+
- name: Install dependencies
18+
run: pip install -r requirements.txt && pip install -r ./tests/requirements.txt
19+
- name: Run tests
20+
working-directory: ./tests
21+
run: ./run.sh
22+

.github/workflows/tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ name: Tests
55

66
on:
77
push:
8-
branches: [ e2e-add-kafka-fix ]
8+
branches: [ master ]
99
pull_request:
10-
branches: [ e2e-add-kafka-fix ]
10+
branches: [ master ]
1111

1212
# Allows you to run this workflow manually from the Actions tab
1313
workflow_dispatch:

0 commit comments

Comments
 (0)