Skip to content

Commit a628359

Browse files
committed
Test ansible scripts with default linter
1 parent 7ae802a commit a628359

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Test contest deployment (ansible scripts)
2+
3+
on: [push,pull_request]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- name: Checkout repo
10+
uses: actions/checkout@v2
11+
- name: Install ansible lint tools
12+
run: sudo apt install ansible-lint
13+
- name: Lint the different scripts
14+
run: cd icpc-wf/ansible; ansible-lint .
15+
#deployAnsible:
16+
#needs: build
17+
#runs-on: ubuntu-latest
18+
#steps:
19+
#- uses: actions/checkout@v1
20+
# - uses: ./.github/actions/ansible
21+
#
22+
# with:
23+
# playbook: playbook.yml
24+
# inventory: localhost
25+
#
26+
#

0 commit comments

Comments
 (0)