== Contributing tests for Fedora Atomic Host CI ==
Documentation and Account
To start contributing you should read the following pages in the first place:
Make sure you have a FAS account. You can also find useful information and tools related to working with packages in the Package maintenance guide:
Clone repositories with tests and project code, run the tests:
- Clone tests from https://upstreamfirst.fedorainfracloud.org/
- Run them and make sure sure that all tests with Atomic tag are Passed.
- Clone project from https://src.fedoraproject.org/browse/projects/
Include tests into the project:
- Move tests into the project folder.
- Rename folder with tests to "tests".
- Make sure there are no *.log files inside.
- Don't forget to delete the .git/ folder.
- Make changes, create a new git branch, eg. git checkout -b new_tests.
- Commit (include links to the project in the commit links).
Example Commit Message:
Add CI tests using the standard test interface Adding tests according to the CI wiki  and standard test interface   https://fedoraproject.org/wiki/CI  https://fedoraproject.org/wiki/Changes/InvokingTests
Unless you are a Fedora packager follow instructions for creating a public git repo on fedorapeople and upload package folder there:
scp -r <package> @fedorapeople.org:public_git/
Navigate to the fedoraproject.org (select appropriate package). Press File Pull Request button then press Remote pull request.
Fill the required fields:
- Title: Add CI tests using the standard test interface
- Git repo address: git://fedorapeople.org/~<username>/<package folder>
- Git branch: new_tests
- To branch: master
- Press the Preview button.
Add an Initial Comment with tests results. Make sure you mentioned right maintainer contact person. For example:
- Insert footnote text here