tests: setup tests
This commit is contained in:
parent
6f0804dd49
commit
4b731f3709
22
.github/workflows/1-tests.yml
vendored
Normal file
22
.github/workflows/1-tests.yml
vendored
Normal file
@ -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
.github/workflows/2-private-docker-test.yml
vendored
Normal file
9
.github/workflows/2-private-docker-test.yml
vendored
Normal file
@ -0,0 +1,9 @@
|
||||
name: Private Docker Run Test
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
run-private-docker:
|
Loading…
Reference in New Issue
Block a user