Skip to content

Commit

Permalink
add build test image step
Browse files Browse the repository at this point in the history
  • Loading branch information
tronikelis committed Nov 2, 2024
1 parent 09d2b76 commit a75ce44
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ jobs:
- name: Cloning repo
uses: actions/checkout@v4

- name: Build test image
run: "docker build -t tronikel/conflict-marker.nvim-test ."

- name: Run tests
run: "./run_tests.sh"

5 changes: 4 additions & 1 deletion run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@

(
cd test || exit
docker build -t tronikel/conflict-marker.nvim-test .

if ! docker image ls | grep tronikel/conflict-marker.nvim-test &>/dev/null; then
docker build -t tronikel/conflict-marker.nvim-test .
fi
)

docker run --rm \
Expand Down

0 comments on commit a75ce44

Please sign in to comment.