Skip to content

Commit

Permalink
tests: setup tests
Browse files Browse the repository at this point in the history
  • Loading branch information
addnab committed Feb 15, 2021
1 parent 6f0804d commit 4b731f3
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/1-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Docker Run Action Tests

on:
push:
branches:
- main
pull_request:

jobs:
smoke-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ./
with:
image: docker:20.10.3
run: |
echo "::set-output name=image_name::`uname -r`"
- uses: actions/github-script@v3
with:
script: |
console.log(core.getOutput('image_name'))
9 changes: 9 additions & 0 deletions .github/workflows/2-private-docker-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name: Private Docker Run Test

on:
push:
branches:
- main

jobs:
run-private-docker:

0 comments on commit 4b731f3

Please sign in to comment.