Skip to content

Commit dc1adad

Browse files
committed
update runners
1 parent 967e71c commit dc1adad

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
jobs:
1212
emscripten_wasm:
1313

14-
runs-on: ubuntu-20.04
14+
runs-on: ubuntu-22.04
1515

1616
strategy:
1717
fail-fast: false

test/xmock_interpreter.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,12 @@ namespace nl = nlohmann;
2020
namespace xeus
2121
{
2222

23+
xmock_interpreter::xmock_interpreter(const std::vector<std::string>& /*args*/)
24+
: xinterpreter()
25+
{
26+
// Arguments intentionally ignored in mock interpreter
27+
}
28+
2329
void xmock_interpreter::configure_impl()
2430
{
2531
auto handle_comm_opened = [](xeus::xcomm&& comm, const xeus::xmessage&) {

test/xmock_interpreter.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ namespace xeus
1818

1919
public:
2020

21-
xmock_interpreter() = default;
21+
xmock_interpreter(const std::vector<std::string>& args);
2222
virtual ~xmock_interpreter() = default;
2323

2424

0 commit comments

Comments
 (0)