We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aeeee97 commit a6d4843Copy full SHA for a6d4843
1 file changed
.github/workflows/python_tests.yml
@@ -1,4 +1,4 @@
1
-name: Python Tests
+name: Docker-based Python Tests
2
3
on: [push, pull_request]
4
@@ -10,16 +10,8 @@ jobs:
10
- name: Checkout repo
11
uses: actions/checkout@v3
12
13
- - name: Set up Python
14
- uses: actions/setup-python@v4
15
- with:
16
- python-version: "3.10"
+ - name: Builid image
+ run: docker build -t ai-summary .
17
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
25
- pytest
+ - name: Run tests with pytest in container
+ run: docker run ai-summary "pytest"
0 commit comments