Skip to content

Commit

Permalink
update workflows; format
Browse files Browse the repository at this point in the history
  • Loading branch information
bbbgan committed Jul 10, 2023
1 parent 21f4578 commit e265c97
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 14 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/clang-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Clang Format Diff

on:
push:
branches: [ master, fullsupport_xml]
branches: [ master, improve_xml]
pull_request:
branches: [ master, fullsupport_xml]
branches: [ master, improve_xml]

jobs:
build:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/linux-clang.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Ubuntu (clang)

on:
push:
branches: [ master, fullsupport_xml]
branches: [ master, improve_xml]
pull_request:
branches: [ master, fullsupport_xml]
branches: [ master, improve_xml]

jobs:
build:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/linux-gcc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Ubuntu (gcc)

on:
push:
branches: [ master, fullsupport_xml]
branches: [ master, improve_xml]
pull_request:
branches: [ master, fullsupport_xml]
branches: [ master, improve_xml]

jobs:
build:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: macOS Monterey 12

on:
push:
branches: [ master, fullsupport_xml]
branches: [ master, improve_xml]
pull_request:
branches: [ master, fullsupport_xml]
branches: [ master, improve_xml]

jobs:
build:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Windows Server 2022

on:
push:
branches: [ master, fullsupport_xml]
branches: [ master, improve_xml]
pull_request:
branches: [ master, fullsupport_xml]
branches: [ master, improve_xml]

jobs:
build:
Expand Down
5 changes: 1 addition & 4 deletions test/test_xml_nothrow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ struct order_t {
REFLECTION(order_t, status, total);

TEST_CASE("test unkonwn key") {
auto validator = [] (order_t od) {
auto validator = [](order_t od) {
CHECK(od.status == enum_status::unpaid);
CHECK(od.total == 65.0f);
};
Expand Down Expand Up @@ -70,11 +70,8 @@ TEST_CASE("test unkonwn key") {
validator(od1);
}



// doctest comments
// 'function' : must be 'attribute' - see issue #182
DOCTEST_MSVC_SUPPRESS_WARNING_WITH_PUSH(4007)
int main(int argc, char **argv) { return doctest::Context(argc, argv).run(); }
DOCTEST_MSVC_SUPPRESS_WARNING_POP

0 comments on commit e265c97

Please sign in to comment.