test: add forgejo workflow
This commit is contained in:
parent
52e0445972
commit
cdf5f3090a
3 changed files with 21 additions and 2 deletions
18
.forgejo/workflows/molecule.yml
Normal file
18
.forgejo/workflows/molecule.yml
Normal file
|
@ -0,0 +1,18 @@
|
|||
---
|
||||
on: [push]
|
||||
jobs:
|
||||
lint:
|
||||
runs-on: docker
|
||||
container:
|
||||
image: code.waks.be/nishiki/molecule:docker
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- run: ansible-lint .
|
||||
- run: yamllint .
|
||||
molecule:
|
||||
runs-on: docker
|
||||
container:
|
||||
image: code.waks.be/nishiki/molecule:docker
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- run: molecule test
|
|
@ -2,11 +2,11 @@
|
|||
extends: default
|
||||
|
||||
ignore: |
|
||||
.kitchen/*
|
||||
.kitchen*
|
||||
vendor/
|
||||
.forgejo/
|
||||
|
||||
rules:
|
||||
line-length:
|
||||
max: 120
|
||||
level: warning
|
||||
truthy: false
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
[](https://code.waks.be/nishiki/ansible-role-gitlab/releases)
|
||||
[](https://code.waks.be/nishiki/ansible-role-gitlab/src/branch/main/LICENSE)
|
||||
[](https://code.waks.be/nishiki/ansible-role-gitlab/actions?workflow=molecule.yml)
|
||||
|
||||
Install and configure a Gitlab server
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue