Update 'Guidelines'
parent
6ae309e520
commit
02771fdaa3
|
|
@ -51,12 +51,6 @@ Ideally the framework should be "test-agnostic", ie independent from the test (c
|
||||||
Interactions should occur through commit messages. Drone handles the connection with gitea. On a commit:
|
Interactions should occur through commit messages. Drone handles the connection with gitea. On a commit:
|
||||||
|
|
||||||
1. Mandatory: check repo health (fail, return an error, and exit if anything goes wrong)
|
1. Mandatory: check repo health (fail, return an error, and exit if anything goes wrong)
|
||||||
- check repo size
|
|
||||||
- ensure checksum of basic files in unchanged (eg. `.drone.yml, .gitattributes, .gitignore`)
|
|
||||||
- ensure no forbidden files was pushed
|
|
||||||
- ensure existence of "must have files" (eg. changelog, readme)
|
|
||||||
- ensure ascii files only have been pushed
|
|
||||||
- ensure commit messages don't use non-ascii characters
|
|
||||||
2. Optional: compilation (based on config file)
|
2. Optional: compilation (based on config file)
|
||||||
3. Optional: code quality (based on config file)
|
3. Optional: code quality (based on config file)
|
||||||
4. Optional: OJ tests (based on commit message)
|
4. Optional: OJ tests (based on commit message)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user