diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 66f2e3d7..c0df5959 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -28,7 +28,7 @@ jobs: python -m pip install pyyaml - name: Create ${{ matrix.py_version }} addon.xml - run: python .build/build.py --version ${{ matrix.py_version }} --source . --target . + run: python build.py --version ${{ matrix.py_version }} - name: Publish Build Artifact uses: actions/upload-artifact@v2 diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index df5c2b38..8c18a0df 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -31,7 +31,7 @@ jobs: python -m pip install pyyaml - name: Create ${{ matrix.py_version }} addon.xml - run: python .build/build.py --version ${{ matrix.py_version }} --source . --target . + run: python build.py --version ${{ matrix.py_version }} - name: Publish Build Artifact uses: actions/upload-artifact@v2 diff --git a/.build/build.py b/build.py similarity index 100% rename from .build/build.py rename to build.py diff --git a/tox.ini b/tox.ini index 2001112e..a8463728 100644 --- a/tox.ini +++ b/tox.ini @@ -1,7 +1,7 @@ [flake8] max-line-length = 9999 import-order-style = pep8 -exclude = .git,.vscode,.build,libraries +exclude = .git,.vscode,libraries,build.py extend-ignore = I202 per-file-ignores = @@ -19,6 +19,8 @@ source = context_play.py default.py service.py -omit = tests/* +omit = + tests/* + build.py branch = True command_line = -m pytest --junitxml=test.xml