Skip to content

Commit d88fec1

Browse files
authored
Merge pull request #37 from https-sam/dev
workflow
2 parents 57bc9d3 + ca89377 commit d88fec1

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

.github/workflows/unit_tests.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,11 @@ jobs:
1515
uses: actions/checkout@v2
1616

1717
- name: Build Custom Docker image
18-
run: docker build -t test_env .
18+
run: docker build -t python3 -f ${{ github.workspace }}/dockerfiles/python3.Dockerfile .
19+
20+
# - name: Build Custom Docker image
21+
# run: docker build -t test_env .
1922

20-
- name: Run unit tests inside the custom docker container
21-
run: docker run -dit -v "/var/run/docker.sock:/var/run/docker.sock:rw" test_env
22-
# run: docker run test_env
23+
# - name: Run unit tests inside the custom docker container
24+
# run: docker run -dit -v "/var/run/docker.sock:/var/run/docker.sock:rw" test_env
25+
# # run: docker run test_env

run_tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
#!/bin/sh
2-
docker build -t python3 -f /src/dockerfiles/python3.Dockerfile . && jest
2+
docker build -t python3 -f /src/dockerfiles/python3.Dockerfile . && jest

0 commit comments

Comments
 (0)