Skip to content

Commit eec83c3

Browse files
committed
test: change commands
1 parent d0f76a3 commit eec83c3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ jobs:
2323
- name: Create docker image and run container
2424
run: |
2525
docker build --build-arg VERSION=${{ matrix.version }} -t "sqids-bash/test:bash-${{ matrix.version }}" .
26-
docker run -id "sqids-bash/test:bash-${{ matrix.version }}"
26+
docker run -id --name "bash-${{ matrix.version }}" "sqids-bash/test:bash-${{ matrix.version }}"
2727
2828
- name: Run tests
29-
run: bats -T ./tests
29+
run: docker container exec "bash-${{ matrix.version }}" bats ./tests
3030

3131
lint:
3232
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)