mirror of
https://github.com/rlespinasse/github-slug-action.git
synced 2026-06-29 17:41:34 +00:00
test(slug): test 'slug_ref' function
This commit is contained in:
committed by
Romain Lespinasse
parent
e461860662
commit
11ea6379cd
5
.github/actions/bats/Dockerfile
vendored
Normal file
5
.github/actions/bats/Dockerfile
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
FROM dduportal/bats:latest
|
||||
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
||||
3
.github/actions/bats/entrypoint.sh
vendored
Executable file
3
.github/actions/bats/entrypoint.sh
vendored
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
/sbin/bats ./
|
||||
17
.github/workflows/ci.yml
vendored
Normal file
17
.github/workflows/ci.yml
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
name: ci
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
|
||||
- name: Check out code
|
||||
uses: actions/checkout@v1
|
||||
|
||||
- name: Tests
|
||||
uses: ./.github/actions/bats
|
||||
|
||||
Reference in New Issue
Block a user