Skip to content

Commit 9aa208b

Browse files
committed
add github action for running the tests
1 parent 7b190b6 commit 9aa208b

3 files changed

Lines changed: 24 additions & 1 deletion

File tree

.github/workflows/test.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Run tests
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- main
10+
11+
jobs:
12+
test:
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- name: Checkout code
17+
uses: actions/checkout@v4
18+
19+
- name: Run make test
20+
run: make test
21+

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
test:
22
docker build . -f tests/Dockerfile --build-arg PLUGIN_NAME=shellpad.nvim -t shellpad/shellpad.nvim:tests
3-
docker run -it shellpad/shellpad.nvim:tests
3+
docker run shellpad/shellpad.nvim:tests
44

55
test-highlight:
66
@echo 'shellpad: highlight {re: "\\(\\d\\+\\.\\)\\{3\\}\\d\\+", fg: "#66aa66", bg: "NONE"}'

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# 📜 shellpad.nvim
22

3+
[![Test Status](https://github.com/shellpad/shellpad.nvim/actions/workflows/test.yml/badge.svg)](https://github.com/shellpad/shellpad.nvim/actions/workflows/test.yml)
4+
35
Adds the :Shell command for running shell commands without a pty in a scratch buffer.
46

57
![Shellpad.nvim screenshot](https://raw.githubusercontent.com/siadat/public/master/shellpad.nvim.png)

0 commit comments

Comments
 (0)