@@ -43,34 +43,32 @@ jobs:
43
43
--mount type=bind,source=./,target=/app \
44
44
-t hjwp/obeythetestinggoat-book-tester:latest \
45
45
git submodule foreach 'git config remote.origin.fetch "+refs/heads/*:refs/remotes/origin/*"'
46
- docker run --rm \
47
- --mount type=volume,source=rootmount,target=/root \
48
- --mount type=bind,source=./,target=/app \
49
- -t hjwp/obeythetestinggoat-book-tester:latest \
50
- bash -c 'git submodule status'
51
- docker run --rm \
52
- --mount type=volume,source=rootmount,target=/root \
53
- --mount type=bind,source=./,target=/app \
54
- -t hjwp/obeythetestinggoat-book-tester:latest \
55
- bash -c 'git submodule status | cut -d" " -f3 | xargs -P0 -I% bash -c "echo %"'
56
46
docker run --rm \
57
47
--mount type=volume,source=rootmount,target=/root \
58
48
--mount type=bind,source=./,target=/app \
59
49
-t hjwp/obeythetestinggoat-book-tester:latest \
60
50
bash -c 'git submodule status | cut -d" " -f3 | xargs -P0 -I% bash -c "cd % && git fetch"'
61
51
62
- - name : check submodule branches
52
+ # - name: check submodule branches
53
+ # run: |
54
+ # docker run --rm \
55
+ # --mount type=volume,source=rootmount,target=/root \
56
+ # --mount type=bind,source=./,target=/app \
57
+ # -t hjwp/obeythetestinggoat-book-tester:latest \
58
+ # bash -c "cd /app/source/chapter_01/superlists && git status && git branch -a"
59
+
60
+ - name : test chapter 1
63
61
run : |
64
62
docker run --rm \
65
63
--mount type=volume,source=rootmount,target=/root \
66
64
--mount type=bind,source=./,target=/app \
67
65
-t hjwp/obeythetestinggoat-book-tester:latest \
68
- bash -c "cd /app/source/chapter_01/superlists && git status && git branch -a "
66
+ bash -c "make test_chapter_01 "
69
67
70
- - name : test chapter 1
68
+ - name : test chapter 2 unittest
71
69
run : |
72
70
docker run --rm \
73
71
--mount type=volume,source=rootmount,target=/root \
74
72
--mount type=bind,source=./,target=/app \
75
73
-t hjwp/obeythetestinggoat-book-tester:latest \
76
- bash -c "make test_chapter_01 "
74
+ bash -c "make test_chapter_02_unittest "
0 commit comments