Update 'Guidelines'

manuel 2024-03-01 16:45:01 +08:00
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:
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)
3. Optional: code quality (based on config file)
4. Optional: OJ tests (based on commit message)