Commit Graph

23 Commits

Author SHA1 Message Date
Salanto
dcdf28c0f6 Update coverage CI run 2022-12-15 20:14:51 +01:00
Salanto
c1115fcee3 That package does not exist anymore 2022-12-15 20:08:11 +01:00
scatterflower
ca84b54597
Replace packet handler with templates (#300)
* Replace packet handler with templates

* Move all packet functions into classes

* Liberal use of Q_UNSUED

* Add correct argument count to packets

* Fix windows build issues

* Partially implement argument type validation
* Where applicable.
* Checking if we can convert from a string to a string would be useless

* Fix unit tests for AOPacket

Co-authored-by: scatterflower <marisa@scatterflower.online>
Co-authored-by: Salanto <62221668+Salanto@users.noreply.github.com>
2022-07-07 10:33:41 -05:00
scatterflower
f4fd19f02d
Add coverage build and CI (#311)
* add coverage build and CI

* fix project files

* upload to codecov

Co-authored-by: scatterflower <marisa@scatterflower.online>
2022-07-07 09:48:42 -05:00
Salanto
22cfee962b
Add regression test to ACL ini handler (#281)
* Add QTest for issue validation

* Add file-existence check for test

* Update acl_roles_handler.cpp

* Appease clang

* Only look for unittest files

* Where art thou?

* Change root directory when running test

* Fix pathing on Windows CI

* Windows please just accept this path

* Too many CDs

* Bash is evil.

* Wildcard moment

* I swear to god Bill Gates why does your OS suck so much?

* Add cache, use working-directory

* Maybe? Maybe not? Who the fuck cares at this point

* Fix library path

Holy shit these tests almost work on Windows.

* FUCKING HELL

* Where art thou? 2nd Edition

* Edited wrong one

* Re-add execution code

* Remove Linux stuff

* Do it in batch

Bash is evil.

* Set to CMD

* I am now expected

* Missing libs

Should be good enough 🤷

* Powershell my beloved, save me

* Adjust pathing (again)

* Add some debug info

* Powershell syntax shenanigans

* I distrust Github Actions now

* I swear my windows is licensed, please work

* More debug info

* More debug

* For the love of all that is holy why the fuck do you not work

* Cheap path hack

* Upload test folder for debug

* Set Execution Policy<

Apparently tests on the Windows CI never worked???

* Remove debug information

* Does this even work? If not, fuck

* Try older Windows runner

* Comment out non-functional Windows QTest action

* Note that Linux is still functional, so QTest for Windows has to be conducted trough QtCreator till a solution is found.

* Unbreak-test

* Use latest runner version

Co-authored-by: TrickyLeifa <date.epoch@gmail.com>
2022-06-27 17:00:45 -05:00
Salanto
ec44039816 Update CI with clang-format condition (#11)
* Update CI with clang-format condition

* Only run CI on either push to master or pull to master, not both
2022-06-15 17:52:27 -05:00
Salanto
604815750a
Add OpenSSL to Windows CI (#263)
* Add OpenSSL deployment to Windows Action
2022-05-19 17:40:53 -05:00
Rosemary Witchaven
0202a2b3a0
run apt-get update before installing dependencies 2021-08-22 23:58:00 -05:00
Cerapter
4ed0c1e238
Disable use of cringe cmd in test running on Windows 2021-05-09 17:03:14 +02:00
Cerapter
3ff34f8129
Iterate through the FILES inside bin_tests/
I'm starting to get the same feeling from debugging CI as I get from testing in production.

Eh, whatever.
2021-05-04 08:22:54 +02:00
Cerapter
8eaca5ab0b
Add the core library to the tests' library path 2021-05-04 08:19:14 +02:00
Cerapter
4137d1a750
Fix same syntax error in another location
Hey, look, Windows builds ain't THAT important, yeah?
2021-05-04 07:57:56 +02:00
Cerapter
07f5b265d2 Fix Github Actions yaml syntax error 2021-05-04 07:56:28 +02:00
Cerapter
8d384d7d85 Relocate test output to bin/.
The executables couldn't be run without the libraries next to them.
2021-04-26 21:12:13 +02:00
scatterflower
5dd834c3af work with old qt 2020-10-06 14:05:45 -05:00
scatterflower
f263263da7
powershell sux
more accurately, windows sux
2020-10-05 06:45:51 -05:00
scatterflower
1a4c92b490
Update main.yml 2020-10-05 06:39:24 -05:00
scatterflower
6503b514d4
Update main.yml 2020-09-29 15:03:59 -05:00
scatterflower
99d98426bc
Update main.yml 2020-09-01 15:50:10 -05:00
scatterflower
b63cbb8c64 Add windows to CI 2020-08-28 01:40:03 -05:00
scatterflower
05b9030d8e
Fix incorrect package name 2020-08-27 21:11:00 -05:00
scatterflower
28ce4828db
Need privilege for apt-get 2020-08-27 21:09:14 -05:00
scatterflower
65e853d811
Add CI 2020-08-27 21:07:41 -05:00