From afd0aef7fd0a5e8d736f1c14fd017da3de6534d0 Mon Sep 17 00:00:00 2001 From: Holger Frydrych Date: Fri, 23 Jun 2023 14:15:52 +0200 Subject: [PATCH] Check for license header compliance in pipeline Signed-off-by: Holger Frydrych --- .github/workflows/check_codestyle.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/check_codestyle.yml b/.github/workflows/check_codestyle.yml index 15dfd17f9..19ae6d0d4 100644 --- a/.github/workflows/check_codestyle.yml +++ b/.github/workflows/check_codestyle.yml @@ -29,9 +29,13 @@ jobs: with: python-version: ${{ matrix.python-version }} - name: Installation - run: pip install ".[code_style]" + run: | + pip install reuse + pip install ".[code_style]" - name: Check code with isort run: | isort src tests --check black src tests --check flake8 src tests + - name: Check license headers with reuse + run: reuse lint