Skip to content

Commit 7c51dd1

Browse files
committed
fix(ci): change flags docker to execute container tests
1 parent 6ace199 commit 7c51dd1

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,18 +99,18 @@ jobs:
9999
100100
- name: Run home-manager switch
101101
run: |
102-
docker run --rm ${{ steps.container.outputs.image_name }} \
102+
docker run exec ${{ steps.container.outputs.container_name }} \
103103
home-manager switch
104104
105105
- name: Run git config test in container
106106
run: |
107-
docker run --rm ${{ steps.container.outputs.image_name }} \
107+
docker run exec ${{ steps.container.outputs.container_name }} \
108108
git config --global user.name | grep -q 'PedroBrantes'
109109
"
110110
111111
- name: Run env test in container
112112
run: |
113-
docker run --rm ${{ steps.container.outputs.image_name }} \
113+
docker run exec ${{ steps.container.outputs.container_name }} \
114114
printenv EDITOR | grep -q 'nvim'
115115
"
116116

0 commit comments

Comments
 (0)