Felix Fontein
98bb520ce7
Use ansible-community/ansible-test-gh-action for CI ( #103 )
...
* Use ansible-community/ansible-test-gh-action for CI
Based upon https://github.com/ansible-collections/collection_template/pull/29 .
* Avoid trailing ';'.
* Fix relative paths for collection installs.
* Try multi-line command.
* Prevent trailing newline.
2022-08-04 22:34:00 +02:00
Felix Fontein
7973f58661
Move licenses to LICENSES/, use SPDX-License-Identifier, mention all licenses in galaxy.yml, add missing license file ( #101 )
...
* Add SPDX license identifiers, mention all licenses in galaxy.yml.
* Add default copyright headers.
* Adjust remaining/missing entries.
* Fix/add more copyright statements.
* Add sanity test.
* Add changelog.
* Add missing license file.
* Remove colon after 'Copyright'.
* Avoid colon after 'Copyright' in lint script.
2022-07-18 23:16:54 +02:00
Felix Fontein
49fb46c4a3
Add docs PR workflow that a) builds docs and b) show the docs diff that a PR ceates. ( #99 )
2022-06-29 21:12:24 +02:00
Felix Fontein
b02cb44c1b
Improve CI. ( #97 )
2022-06-11 20:06:02 +00:00
Felix Fontein
109e534976
ansible-core's devel version supports Python 3.11. ( #94 )
2022-05-22 17:14:53 +02:00
Felix Fontein
5f912dad16
Improve unit test performance. (Do not install library we do not use in the tests anyway.) ( #92 )
2022-05-15 22:42:26 +02:00
Felix Fontein
0815b11bbf
Increase verbosity for EE tests ( #84 )
...
* Increase verbosity for EE tests.
* 2.9 compatibility.
2022-04-16 07:09:02 +02:00
Felix Fontein
30afb61f86
Make EE ready. ( #83 )
2022-04-15 17:22:39 +00:00
Felix Fontein
e22433b179
Schedule nightly CI at 5:15. ( #81 )
2022-04-15 15:07:03 +02:00
Felix Fontein
ebe6e93773
Bump codecov action. ( #79 )
2022-04-14 22:38:38 +02:00
Felix Fontein
7b3900fd6e
Update GHAs. ( #77 )
2022-04-11 09:03:47 +02:00
Felix Fontein
a8ba15e556
Add stable-2.13 to CI. ( #72 )
2022-03-29 06:16:43 +02:00
Felix Fontein
1deeb9f372
Restrict branches for which to run tests.
2021-11-25 21:21:55 +01:00
Felix Fontein
656c115697
Also collect coverage during sanity tests. ( #59 )
2021-11-25 20:59:19 +01:00
Felix Fontein
e74687a8e0
Add patchback config.
2021-11-16 22:03:31 +01:00
Felix Fontein
4603507713
Restrict librouteros for Ansible 2.9 unit tests. ( #57 )
2021-11-16 22:00:07 +01:00
Felix Fontein
65034de769
Replace deprecated v1 codecov updater with v2. ( #54 )
2021-10-14 15:23:00 +02:00
Felix Fontein
d73eb1c144
Add module_utils and filters for quoting and unquoting ( #53 )
...
* Move splitting code to own file.
* Move list to dictionary code to quoting as well.
* Add quoting functionality.
* Add quoting filters.
* Add integration tests to CI.
* Fix bugs, increase coverage.
* Make parsing more strict.
* Extract function parse_argument_value from split_routeros_command to make proper parsing of WHERE possible.
* Adjust expected error message in integration tests.
* Simplify code and improve coverage.
* Add changelog fragment for WHERE strictness in api module.
* Add documenation.
* Fix typo.
* Add documentation references.
* Add example to api module which uses quote_argument_value.
* Fix bug, and add tests which prevent this in the future.
* Add more escape sequence tests.
* Make sure all control characters are quoted.
2021-10-12 00:44:40 +03:00
Felix Fontein
f432b1fa07
Update CI matrix to include ansible-core's stable-2.12 branch ( #52 )
...
* Update CI matrix to include ansible-core's stable-2.12 branch.
* Adjust README.
2021-09-28 15:35:05 +02:00
Felix Fontein
3e4427b53a
Fix extra-tests name. ( #40 )
2021-07-04 12:07:47 +02:00
Felix Fontein
1913a0d4bf
Improve CI. ( #35 )
2021-06-14 11:23:35 +00:00
Felix Fontein
6bed4d1c90
Update Python versions for integration tests: add Python 3.10 ( #30 )
...
* Update Python versions for integration tests (that currently do not exist).
* 3.10 in YAML is 3.1...
2021-05-10 19:28:05 +02:00
Felix Fontein
e797f2e07d
ansible/ansible's stable-2.11 branch has been created. ( #26 )
2021-04-06 05:10:50 +00:00
Felix Fontein
7bab58eae9
Stop using ansible-galaxy collection install to install a collection due to https://github.com/ansible/galaxy/issues/2429 . ( #24 )
2021-03-27 09:57:59 +01:00
Felix Fontein
7b13948c8c
Simplify CI matrix.
...
By running unit tests for all Python versions with one ansible-test command,
we save quite some runtime (we don't have to set up the same ansible-test
environment multiple times) and reduce the large amount of unit test entries
in the CI.
2020-10-26 15:22:54 +01:00
Felix Fontein
1b9c46fbe5
Initial cleanup.
2020-10-26 15:18:40 +01:00
John R Barker
cfde9713bd
Add collection template.
2020-10-26 15:18:40 +01:00