test(slug): test 'slug_ref' function

This commit is contained in:
Antoine Méausoone
2019-11-06 16:42:22 +01:00
committed by Romain Lespinasse
parent e461860662
commit 11ea6379cd
6 changed files with 62 additions and 1 deletions

5
.github/actions/bats/Dockerfile vendored Normal file
View 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
View File

@@ -0,0 +1,3 @@
#!/usr/bin/env sh
/sbin/bats ./

17
.github/workflows/ci.yml vendored Normal file
View 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