Incorrect test documentation?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At the bottom of https://docs.fedoraproject.org/en-US/ci/tests/#_enabling it
shows:


It is possible to separate tests into multiple playbooks, each of them can
represent a test or a part of a test. Testing system will run each playbook
matching the glob tests/tests*.yml separately in a clean environment.
Optionally you can have multiple playbooks without the tests prefix and link
them from the tests.yml file. Let’s have a look at the gzip example:

> fedpkg clone -a gzip
Cloning into 'gzip'...

> cd gzip/tests/
> ls
test-simple  test_simple.yml  tests.yml

> cat tests.yml
- include: test_simple.yml


Couple things:

* gzip no longer uses this format for tests

* It seems that - include: is no longer valid:

https://artifacts.dev.testing-farm.io/c226cd22-46cd-4a4c-8631-7bd2de29c145/

# STDERR:
---v---v---v---v---v---
ERROR! 'include' is not a valid attribute for a Play

The error appears to be in
'/var/ARTIFACTS/git-6b56709d6bd773f4bc1fd4ad0eb671927d9daff8lzf0k45y/tests/tests.yml':
line 2, column 3, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:

---
- include: builtin-tests.yml
  ^ here

---^---^---^---^---^---


-- 
Orion Poplawski
he/him/his  - surely the least important thing about me
Manager of IT Systems                      720-772-5637
NWRA, Boulder/CoRA Office             FAX: 303-415-9702
3380 Mitchell Lane                       orion@xxxxxxxx
Boulder, CO 80301                 https://www.nwra.com/

<<attachment: smime.p7s>>

-- 
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux