mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
feat: run bench in ci (#5610)
This commit is contained in:
parent
0db477665c
commit
055f6741b8
6
.github/workflows/test.yml
vendored
6
.github/workflows/test.yml
vendored
|
@ -91,6 +91,12 @@ jobs:
|
||||||
ctest --repeat until-pass:4 --output-on-failure
|
ctest --repeat until-pass:4 --output-on-failure
|
||||||
working-directory: build-test
|
working-directory: build-test
|
||||||
|
|
||||||
|
- name: Run benchmark
|
||||||
|
timeout-minutes: 2
|
||||||
|
run: |
|
||||||
|
./bin/chatterino-benchmark --benchmark_min_time=1x
|
||||||
|
working-directory: build-test
|
||||||
|
|
||||||
- name: Upload coverage reports to Codecov
|
- name: Upload coverage reports to Codecov
|
||||||
uses: codecov/codecov-action@v4.5.0
|
uses: codecov/codecov-action@v4.5.0
|
||||||
with:
|
with:
|
||||||
|
|
|
@ -90,6 +90,7 @@
|
||||||
- Dev: The timer for `StreamerMode` is now destroyed on the correct thread. (#5571)
|
- Dev: The timer for `StreamerMode` is now destroyed on the correct thread. (#5571)
|
||||||
- Dev: Cleanup some parts of the `magic_enum` adaptation for Qt. (#5587)
|
- Dev: Cleanup some parts of the `magic_enum` adaptation for Qt. (#5587)
|
||||||
- Dev: Refactored `static`s in headers to only be present once in the final app. (#5588)
|
- Dev: Refactored `static`s in headers to only be present once in the final app. (#5588)
|
||||||
|
- Dev: Run benchmarks in CI. (#5610)
|
||||||
- Dev: Added more tests for input completion. (#5604)
|
- Dev: Added more tests for input completion. (#5604)
|
||||||
- Dev: Refactored legacy Unicode zero-width-joiner replacement. (#5594)
|
- Dev: Refactored legacy Unicode zero-width-joiner replacement. (#5594)
|
||||||
- Dev: The JSON output when copying a message (<kbd>SHIFT</kbd> + right-click) is now more extensive. (#5600)
|
- Dev: The JSON output when copying a message (<kbd>SHIFT</kbd> + right-click) is now more extensive. (#5600)
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
#include "mocks/DisabledStreamerMode.hpp"
|
#include "mocks/DisabledStreamerMode.hpp"
|
||||||
#include "mocks/Emotes.hpp"
|
#include "mocks/Emotes.hpp"
|
||||||
#include "mocks/LinkResolver.hpp"
|
#include "mocks/LinkResolver.hpp"
|
||||||
|
#include "mocks/Logging.hpp"
|
||||||
#include "mocks/TwitchIrcServer.hpp"
|
#include "mocks/TwitchIrcServer.hpp"
|
||||||
#include "mocks/UserData.hpp"
|
#include "mocks/UserData.hpp"
|
||||||
#include "providers/bttv/BttvEmotes.hpp"
|
#include "providers/bttv/BttvEmotes.hpp"
|
||||||
|
@ -110,6 +111,12 @@ public:
|
||||||
return &this->linkResolver;
|
return &this->linkResolver;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ILogging *getChatLogger() override
|
||||||
|
{
|
||||||
|
return &this->logging;
|
||||||
|
}
|
||||||
|
|
||||||
|
mock::EmptyLogging logging;
|
||||||
AccountController accounts;
|
AccountController accounts;
|
||||||
mock::Emotes emotes;
|
mock::Emotes emotes;
|
||||||
mock::UserDataController userData;
|
mock::UserDataController userData;
|
||||||
|
|
Loading…
Reference in a new issue