Skip to content

Commit 0a68c57

Browse files
refactored ci.yml
1 parent 3aa0c07 commit 0a68c57

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,10 @@ jobs:
3333
- name: Build Docker Image
3434
run: docker build -t classifier .
3535

36-
- name: Run Tests in Docker Container
37-
run: docker run -it --rm -v "$(pwd)"/input_raw:/usr/src/app/input_raw -v "$(pwd)"/output:/usr/src/app/output -e INPUT_DIR=input_raw classifier
36+
- name: Run Pipeline in Docker Container
37+
run: |
38+
docker run --rm \
39+
-v "${{ runner.os }}/input_raw:/usr/src/app/input_raw" \
40+
-v "${{ runner.os }}/output:/usr/src/app/output" \
41+
-e INPUT_DIR=input_raw \
42+
classifier

0 commit comments

Comments
 (0)