Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Infrastructure
Public
ansible
taiga-ansible
Commits
69c61841
Commit
69c61841
authored
Jan 16, 2021
by
Florian Haas
Browse files
Add GitHub Actions workflow with tox-gh-actions
parent
567f5cdc
Changes
2
Hide whitespace changes
Inline
Side-by-side
.github/workflows/test.yml
0 → 100644
View file @
69c61841
name
:
Test roles and playbooks
on
:
-
push
-
pull_request
jobs
:
build
:
runs-on
:
ubuntu-latest
strategy
:
matrix
:
python-version
:
[
3.6
,
3.7
,
3.8
,
3.9
]
steps
:
-
uses
:
actions/checkout@v1
-
name
:
Set up Python ${{ matrix.python-version }}
uses
:
actions/setup-python@v2
with
:
python-version
:
${{ matrix.python-version }}
-
name
:
Install dependencies
run
:
|
pip install tox tox-gh-actions
-
name
:
Test with tox
run
:
tox
tox.ini
View file @
69c61841
...
...
@@ -2,6 +2,14 @@
skipsdist
=
true
envlist
=
ansible-{25,26,27,28,29,latest}
[gh-actions]
python
=
3.5:
ansible-{25,26,27,28,29,latest}
3.6:
ansible-{25,26,27,28,29,latest}
3.7:
ansible-{25,26,27,28,29,latest}
3.8:
ansible-{25,26,27,28,29,latest}
3.9:
ansible-{25,26,27,28,29,latest}
[testenv]
deps
=
ansible-25:
ansible>=2.5,<2.6
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment