Spaces:
Running
Running
rename test images in github workflow
Browse files
.github/workflows/pytest.yml
CHANGED
|
@@ -17,7 +17,7 @@ jobs:
|
|
| 17 |
uses: actions/checkout@v3
|
| 18 |
|
| 19 |
- name: Build Docker image
|
| 20 |
-
run: docker build --build-arg TEST=true -t
|
| 21 |
|
| 22 |
- name: Run tests inside container
|
| 23 |
-
run: docker run --rm --env-file .env.test
|
|
|
|
| 17 |
uses: actions/checkout@v3
|
| 18 |
|
| 19 |
- name: Build Docker image
|
| 20 |
+
run: docker build --build-arg TEST=true -t test_image .
|
| 21 |
|
| 22 |
- name: Run tests inside container
|
| 23 |
+
run: docker run --rm --env-file .env.test test_image pytest
|