mirror of
https://github.com/thegeeklab/wait-for.git
synced 2024-11-18 10:40:39 +00:00
27 lines
509 B
YAML
27 lines
509 B
YAML
---
|
|
when:
|
|
- event: [pull_request, tag]
|
|
- event: [push, manual]
|
|
branch:
|
|
- ${CI_REPO_DEFAULT_BRANCH}
|
|
|
|
steps:
|
|
- name: lint
|
|
image: docker.io/koalaman/shellcheck-alpine:stable
|
|
depends_on: []
|
|
commands:
|
|
- shellcheck ./wait-for
|
|
|
|
- name: test-ncat
|
|
image: docker.io/bats/bats
|
|
depends_on: []
|
|
commands:
|
|
- bats ./wait-for.bats
|
|
|
|
- name: test-bash
|
|
image: docker.io/bats/bats
|
|
depends_on: []
|
|
commands:
|
|
- rm -rf /usr/bin/nc
|
|
- bats ./wait-for.bats
|