Commit Graph

88 Commits (cd7fe8a213b20ac8a05ce631fadd078a16f90a1d)

Author SHA1 Message Date
lethosor 2f5cee1af1
Add stubs in travis/ to call ci/ scripts 2021-09-05 23:08:01 -04:00
lethosor 2ac3258ae8
Move travis/ scripts to ci/ 2021-09-05 23:08:01 -04:00
lethosor f876688a6a
lint.py: use argparse for argument processing 2021-09-05 23:07:58 -04:00
lethosor cc6c829415
lint.py: fix --fix UTF-8 issues 2021-09-05 22:33:06 -04:00
lethosor de241b47cc
Check for CI env var instead of TRAVIS 2021-09-05 22:24:16 -04:00
lethosor 75f90bccb9
Remove travis/all.py
Broken since we switched away from Travis
2021-09-05 22:21:20 -04:00
myk002 7060c297a8
disable fortress mode tests in CI for now
until we get a reuable fortress save set up
2021-05-07 15:19:10 -07:00
myk002 e157c20fc2
use new test harness script path 2021-03-22 10:23:31 -07:00
myk002 3e5a2c8d7c
rerun all tests by default
introduce and use --resume option for ci
2021-03-22 10:06:03 -07:00
myk002 916a10d717
exempt lua test files from docstring requirements
and don't display them with 'ls'
2021-03-07 08:52:45 -08:00
lethosor 4460584361
Standardize CI scripts to print both raw and GitHub actions messages when run under GitHub actions
Apparently the location information is no longer visible in build logs

Pointed out in https://github.com/DFHack/dfhack/pull/1704#issuecomment-726991055
2020-12-27 23:35:36 -05:00
Myk Taylor e614e28beb exempt scripts under 'internal' from docstring req 2020-07-24 23:40:27 -07:00
lethosor 142a7aa287 authors-rst.py: add support for printing errors in GitHub actions format 2020-07-01 21:58:54 -04:00
lethosor 20993f9a42 script-docs.py: add support for printing errors in GitHub actions format 2020-06-30 14:03:05 -04:00
lethosor 13f411d9fa Always print error lines to make GitHub logs more readable 2020-06-30 00:44:27 -04:00
lethosor c333059316 Switch CI scripts to Python 3 2020-06-30 00:29:30 -04:00
lethosor fedf68cc7c Annotate script syntax errors 2020-06-30 00:24:03 -04:00
lethosor e95edc095c Use workflow commands to annotate linter errors 2020-06-29 23:58:47 -04:00
lethosor b4a55110e3 Also try downloading DF from files.dfhack.org 2020-06-29 22:35:23 -04:00
lethosor c6283ea262 Make download-df.sh fail sooner 2020-06-29 22:04:33 -04:00
lethosor 02c118335f Restore build-lua.sh for build-env 2020-04-25 17:59:50 -04:00
lethosor ba12e0c6d4 Remove obsolete travis scripts 2020-04-11 02:33:50 -04:00
lethosor ba72497963 Add some rudimentary test selection support 2020-04-01 02:15:27 -04:00
lethosor 91fad90167 Make test base folder customizable, clean up, stop always installing test folder 2020-04-01 00:26:51 -04:00
lethosor ef51996a2c Log error when DF exits non-successfully 2020-03-28 13:19:38 -04:00
lethosor 1c39ed1428 Switch tests to headless mode if no TTY detected 2020-03-28 13:18:31 -04:00
lethosor 500426ea25 Make Python test runner actually fail if a test fails 2020-03-27 00:52:28 -04:00
lethosor f784fdc8b7 Add flag to keep DF open after tests 2020-03-26 23:07:45 -04:00
lethosor 78c24adffb Fix argument parsing 2020-03-25 02:22:08 -04:00
lethosor ea3be02c63 Overhaul lua testing script
- Now keeps track of the state of each test individually
- Only runs uncompleted tests if DF crashes/restarts
- DF now exits with 0
- Easier to run locally
- Hopefully works on Travis too!
2020-03-25 01:45:17 -04:00
lethosor 703e1b8a0c Consolidate cd commands 2019-01-02 19:15:19 -05:00
lethosor 9663897037 Fix inconsistency resulting in nested df_linux folders 2019-01-02 18:40:34 -05:00
lethosor 13dfa130d7 Add more diagnostics to run-tests.py 2019-01-02 17:34:08 -05:00
lethosor 8063717503 get-df-version: make filter more strict 2019-01-02 17:05:28 -05:00
lethosor b08ccd001e travis: Always clear DF folder 2019-01-02 17:05:07 -05:00
lethosor af0d569afd check-rpc: add -> append 2018-12-29 00:15:45 -05:00
lethosor 063602349c Add a basic test library and a couple GUI module tests (squashed)
Also modified Core/Console a bit to get this to actually produce output on
Travis (DFHACK_DISABLE_CONSOLE now allows console output, just not input)

Squashed merge from lethosor/tests
2018-07-18 14:29:13 -04:00
Ben Lubar 3b6a0738a0
Add check-rpc.py for Travis. 2018-07-04 15:32:06 -05:00
lethosor 2af5f7ab87 Add test runner 2018-02-04 16:00:53 -05:00
lethosor 23efb1cbf1 Run startup commands in dfhack_travis.init 2018-02-04 02:27:09 -05:00
lethosor 2de28d4357 Fix bash compat issues 2018-02-04 02:13:20 -05:00
lethosor a5cca75715 headless: Disable sound, wgetch 2018-02-04 00:17:46 -05:00
lethosor 78c60e249e Set PRINT_MODE:TEXT 2018-02-03 23:56:44 -05:00
lethosor 39b488a103 Download/install DF 2018-02-03 23:17:58 -05:00
lethosor f020ad0546 Re-enable Lua test and IRC notifications 2017-06-22 11:37:44 -04:00
lethosor a718aae994 Fix more Lua download script issues 2017-06-22 11:24:37 -04:00
lethosor 808835f149 Download Lua insecurely
Travis doesn't like the HTTPS URL:
https://travis-ci.org/lethosor/dfhack/builds/245829296
2017-06-22 11:13:22 -04:00
lethosor 1de290b38c Travis: Add script to build Lua 5.3 2017-06-22 11:07:53 -04:00
lethosor fe6968f01d Fix script-docs.py error with missing opening token 2016-08-11 11:57:42 -04:00
lethosor 29963f4b67 Rename script-in-readme to script-docs 2016-07-26 22:51:42 -04:00