diff --git a/.github/workflows/ctest.yml b/.github/workflows/ctest.yml index 6987805..c53cfb9 100644 --- a/.github/workflows/ctest.yml +++ b/.github/workflows/ctest.yml @@ -12,7 +12,6 @@ on: # Define the matrix for different operating systems jobs: build-and-test: - if: ${{ github.repository != 'NTIA/proplib-template' }} name: ${{ matrix.os }} / CMake ${{ matrix.cmakeVersion }} runs-on: ${{ matrix.os }} strategy: diff --git a/.github/workflows/doxygen.yml b/.github/workflows/doxygen.yml index 9a2f311..a9287dd 100644 --- a/.github/workflows/doxygen.yml +++ b/.github/workflows/doxygen.yml @@ -8,6 +8,8 @@ on: types: ["published"] pull_request: branches: ["main", "dev"] + push: + branches: ["main", "dev"] workflow_dispatch: # Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. @@ -18,7 +20,6 @@ concurrency: jobs: build: - if: ${{ github.repository != 'NTIA/proplib-template' }} runs-on: ubuntu-latest steps: - name: Checkout repository @@ -55,7 +56,7 @@ jobs: path: ./docs/html/ deploy: - if: ${{ (github.event_name == 'release') && (github.repository != 'NTIA/proplib-template') }} + if: ${{ github.event_name == 'release' }} needs: build permissions: contents: read diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 815d0d9..f9a25c9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,7 +12,6 @@ permissions: jobs: create_release_artifacts: - if: github.repository != 'NTIA/proplib-template' name: Create release artifacts runs-on: ${{ matrix.os }} strategy: diff --git a/app/src/CommaSeparatedIterator.cpp b/app/src/CommaSeparatedIterator.cpp index 9e665bc..022a952 100644 --- a/app/src/CommaSeparatedIterator.cpp +++ b/app/src/CommaSeparatedIterator.cpp @@ -5,11 +5,8 @@ #include "Driver.h" -#include // for transform -#include // for std::tolower -#include // for std::ptrdiff_t, std::size_t -#include // for std::istream -#include // for std::input_iterator_tag +#include // for std::size_t +#include // for std::istream #include // for std::runtime_error #include // for std::getline, std::string diff --git a/app/src/Driver.cpp b/app/src/Driver.cpp index 4236b67..f55ac0e 100644 --- a/app/src/Driver.cpp +++ b/app/src/Driver.cpp @@ -3,7 +3,14 @@ */ #include "Driver.h" -#include // for std::find +#include // for std::find +#include // for std::ifstream, std::ofstream +#include // for std::setw +#include // for std::left +#include // for std::cerr +#include // for std::endl +#include // for std::string +#include // for std::vector /******************************************************************************* * Main function of the driver executable diff --git a/app/src/DriverUtils.cpp b/app/src/DriverUtils.cpp index e4c5766..b4c5e56 100644 --- a/app/src/DriverUtils.cpp +++ b/app/src/DriverUtils.cpp @@ -16,9 +16,9 @@ #include // for std::transform #include // for std::tolower #include // for localtime_{s,r}, std::{time, time_t, tm, strftime} -#include // for std::ofstream #include // for std::setfill, std::setw #include // for std::cerr, std::endl +#include // for std::ostream #include // for std::stod, std::stoi, std::string /****************************************************************************** diff --git a/app/tests/TempTextFile.cpp b/app/tests/TempTextFile.cpp index ab572a5..f814e3d 100644 --- a/app/tests/TempTextFile.cpp +++ b/app/tests/TempTextFile.cpp @@ -19,7 +19,7 @@ #include // for std::remove #include // for std::ofstream -#include // for std::cerr, std::cout, std::ios::trunc +#include // for std::cerr, std::ios::trunc #include // for std::endl #include // for std::runtime_error #include // for std::string diff --git a/app/tests/TestDriver.cpp b/app/tests/TestDriver.cpp index 216663d..4cc79ad 100644 --- a/app/tests/TestDriver.cpp +++ b/app/tests/TestDriver.cpp @@ -3,6 +3,8 @@ */ #include "TestDriver.h" +#include // for std::string + TEST_F(DriverTest, MissingOptionError1) { // Test case: missing option between two provided flags std::string cmd = executable + " -i -o out.txt"; diff --git a/app/tests/TestDriver.h b/app/tests/TestDriver.h index 2781e81..51706f9 100644 --- a/app/tests/TestDriver.h +++ b/app/tests/TestDriver.h @@ -6,7 +6,6 @@ #include "Driver.h" #include "TempTextFile.h" -#include // for std::replace #include // for std::remove, std::perror #include // for std::system #include // GoogleTest