diff --git a/.github/workflows/code_coverage.yml b/.github/workflows/code_coverage.yml index fde9ace..3b5224c 100644 --- a/.github/workflows/code_coverage.yml +++ b/.github/workflows/code_coverage.yml @@ -7,6 +7,7 @@ on: paths: - 'pfdl_scheduler/**' - 'tests/**' + - 'requirements.txt' - '.github/workflows/**' pull_request: branches: @@ -14,6 +15,7 @@ on: paths: - 'pfdl_scheduler/**' - 'tests/**' + - 'requirements.txt' - '.github/workflows/**' permissions: @@ -42,4 +44,4 @@ jobs: coverage run --omit=tests/*,pfdl_scheduler/parser/PFDL* -m unittest discover -s tests/unit_test coverage report coverage json - coverage html \ No newline at end of file + coverage html diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 3ed209f..4a086b9 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -4,17 +4,9 @@ on: push: branches: - 'main' - paths: - - 'pfdl_scheduler/**' - - 'tests/**' - - '.github/workflows/**' pull_request: branches: - 'main' - paths: - - 'pfdl_scheduler/**' - - 'tests/**' - - '.github/workflows/**' permissions: contents: read @@ -37,4 +29,4 @@ jobs: - name: Run Lint check run: | python3 ci_lint_runner.py pfdl_scheduler 8 - python3 ci_lint_runner.py tests 8 \ No newline at end of file + python3 ci_lint_runner.py tests 8 diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 4443306..8dab097 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -4,17 +4,9 @@ on: push: branches: - 'main' - paths: - - 'pfdl_scheduler/**' - - 'tests/**' - - '.github/workflows/**' pull_request: branches: - 'main' - paths: - - 'pfdl_scheduler/**' - - 'tests/**' - - '.github/workflows/**' permissions: contents: read diff --git a/.reuse/dep5 b/.reuse/dep5 index 25afeb1..960ba3f 100644 --- a/.reuse/dep5 +++ b/.reuse/dep5 @@ -6,3 +6,7 @@ Source: https://github.com/iml130/pfd Files: docs/img/* Copyright: The PFDL Contributors License: CC-BY-4.0 + +Files: pfdl_grammar/* +Copyright: The PFDL Contributors +License: MIT diff --git a/pfdl_scheduler/parser/PFDLLexer.py.license b/pfdl_scheduler/parser/PFDLLexer.py.license new file mode 100644 index 0000000..6c15ccb --- /dev/null +++ b/pfdl_scheduler/parser/PFDLLexer.py.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: The PFDL Contributors +SPDX-License-Identifier: MIT diff --git a/pfdl_scheduler/parser/PFDLParser.py.license b/pfdl_scheduler/parser/PFDLParser.py.license new file mode 100644 index 0000000..6c15ccb --- /dev/null +++ b/pfdl_scheduler/parser/PFDLParser.py.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: The PFDL Contributors +SPDX-License-Identifier: MIT diff --git a/pfdl_scheduler/parser/PFDLParserVisitor.py.license b/pfdl_scheduler/parser/PFDLParserVisitor.py.license new file mode 100644 index 0000000..6c15ccb --- /dev/null +++ b/pfdl_scheduler/parser/PFDLParserVisitor.py.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: The PFDL Contributors +SPDX-License-Identifier: MIT diff --git a/pfdl_scheduler/utils/log_entry_observer.py b/pfdl_scheduler/utils/log_entry_observer.py index 529d08c..b4723b5 100644 --- a/pfdl_scheduler/utils/log_entry_observer.py +++ b/pfdl_scheduler/utils/log_entry_observer.py @@ -1,3 +1,9 @@ +# Copyright The PFDL Contributors +# +# Licensed under the MIT License. +# For details on the licensing terms, see the LICENSE file. +# SPDX-License-Identifier: MIT + """This module provides the LogEntryObserver which implements the Observer pattern. The scheduler notifies about log entries, so this class is used to catch these