Skip to content

Commit

Permalink
Merge pull request #58 from bats-core/workflow
Browse files Browse the repository at this point in the history
Reuse shared test workflow
  • Loading branch information
jasonkarns authored Feb 24, 2023
2 parents 2268cf9 + effe6f5 commit 44913ff
Show file tree
Hide file tree
Showing 5 changed files with 46 additions and 27 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name: Test
on:
push:
pull_request:
workflow_dispatch:

jobs:
test:
uses: bats-core/.github/.github/workflows/test.yml@v1
26 changes: 0 additions & 26 deletions .github/workflows/tests.yml

This file was deleted.

1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/node_modules
/package-lock.json
/yarn.lock
/bats-assert-*.tgz
36 changes: 36 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions test/test_helper.bash
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Load dependencies.
BATS_LIB_PATH=$PWD/node_modules:${BATS_LIB_PATH-}
bats_load_library 'bats-support'

# Load library.
Expand Down

0 comments on commit 44913ff

Please sign in to comment.