Skip to content

Commit a6d4843

Browse files
committed
Fix CI/CD
1 parent aeeee97 commit a6d4843

1 file changed

Lines changed: 5 additions & 13 deletions

File tree

.github/workflows/python_tests.yml

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Python Tests
1+
name: Docker-based Python Tests
22

33
on: [push, pull_request]
44

@@ -10,16 +10,8 @@ jobs:
1010
- name: Checkout repo
1111
uses: actions/checkout@v3
1212

13-
- name: Set up Python
14-
uses: actions/setup-python@v4
15-
with:
16-
python-version: "3.10"
13+
- name: Builid image
14+
run: docker build -t ai-summary .
1715

18-
- name: Install dependencies
19-
run: |
20-
python -m pip install --upgrade pip
21-
pip install -r requirements.txt
22-
23-
- name: Run tests
24-
run: |
25-
pytest
16+
- name: Run tests with pytest in container
17+
run: docker run ai-summary "pytest"

0 commit comments

Comments
 (0)