Skip to content

Commit 44913ff

Browse files
authored
Merge pull request #58 from bats-core/workflow
Reuse shared test workflow
2 parents 2268cf9 + effe6f5 commit 44913ff

File tree

5 files changed

+46
-27
lines changed

5 files changed

+46
-27
lines changed

.github/workflows/test.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
name: Test
2+
on:
3+
push:
4+
pull_request:
5+
workflow_dispatch:
6+
7+
jobs:
8+
test:
9+
uses: bats-core/.github/.github/workflows/test.yml@v1

.github/workflows/tests.yml

Lines changed: 0 additions & 26 deletions
This file was deleted.

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
/node_modules
2-
/package-lock.json
32
/yarn.lock
43
/bats-assert-*.tgz

package-lock.json

Lines changed: 36 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/test_helper.bash

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# Load dependencies.
2+
BATS_LIB_PATH=$PWD/node_modules:${BATS_LIB_PATH-}
23
bats_load_library 'bats-support'
34

45
# Load library.

0 commit comments

Comments
 (0)