Skip to content

Commit

Permalink
Merge pull request #53 from lizrabuya/master
Browse files Browse the repository at this point in the history
Create a GitHub action workflow to run unit tests
  • Loading branch information
lizrabuya committed Sep 28, 2023
2 parents 97c6c35 + 8f92f54 commit 6c0beef
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,13 @@ jobs:

tests:
name: unit-test
runs-on: ubuntu-latest
runs-on: ubuntu-latest
steps:
- name: Run unit test for the action
run: docker run --rm -v "$PWD":/plugin buildkite/plugin-tester:v4.0.0

- name: checkout base image
uses: actions/checkout@v3
- uses: addnab/docker-run-action@v3
with:
image: buildkite/plugin-tester:v4.0.0
options: --rm -v ${{ github.workspace }}:/plugin
run: bats tests/.

0 comments on commit 6c0beef

Please sign in to comment.