Merge pull request #55 from buildkite/SUP-1409-Update-tag-in-readme #19
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Unit Test | |
on: push | |
jobs: | |
build: | |
name: build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v3 | |
- name: Verify that the Docker image for the action builds | |
run: docker build . --file Dockerfile | |
tests: | |
name: unit-test | |
runs-on: ubuntu-latest | |
steps: | |
- 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/. | |