From 93d0740161e29acd0810408f48f59fc9036dfff0 Mon Sep 17 00:00:00 2001 From: jorisschellekens Date: Mon, 22 Jan 2024 20:00:56 +0100 Subject: [PATCH] fix .github folder --- .github/FUNDING.yml | 1 + .github/ISSUE_TEMPLATE/bug_report.md | 0 .github/ISSUE_TEMPLATE/feature_request.md | 0 .github/workflows/python-publish.yml | 0 .github/workflows/python-smoke-test.yml | 26 +++++++++++++++++++++++ .github/workflows/python-test.yml | 4 ++-- 6 files changed, 29 insertions(+), 2 deletions(-) create mode 100644 .github/FUNDING.yml mode change 100755 => 100644 .github/ISSUE_TEMPLATE/bug_report.md mode change 100755 => 100644 .github/ISSUE_TEMPLATE/feature_request.md mode change 100755 => 100644 .github/workflows/python-publish.yml create mode 100644 .github/workflows/python-smoke-test.yml diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 000000000..219a57a39 --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1 @@ +patreon: borbpdf \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md old mode 100755 new mode 100644 diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md old mode 100755 new mode 100644 diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml old mode 100755 new mode 100644 diff --git a/.github/workflows/python-smoke-test.yml b/.github/workflows/python-smoke-test.yml new file mode 100644 index 000000000..6bd639f34 --- /dev/null +++ b/.github/workflows/python-smoke-test.yml @@ -0,0 +1,26 @@ +name: Smoke Test(s) Against Multiple Python Versions + +on: [push] + +jobs: + build: + + runs-on: ubuntu-latest + strategy: + matrix: + python-version: ["3.7", "3.8", "3.9", "3.10"] + + steps: + - uses: actions/checkout@v3 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v4 + with: + python-version: ${{ matrix.python-version }} + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install flake8 pytest + if [ -f requirements.txt ]; then pip install -r requirements.txt; fi + - name: Test with pytest + run: | + pytest tests/pdf/canvas/layout/test_new_layout_methods_without_visual_compare.py \ No newline at end of file diff --git a/.github/workflows/python-test.yml b/.github/workflows/python-test.yml index 9474c307b..3d1948b22 100644 --- a/.github/workflows/python-test.yml +++ b/.github/workflows/python-test.yml @@ -1,6 +1,6 @@ -name: Test Against Multiple Python Versions +name: All Test(s) Against Multiple Python Versions -on: [push] +on: [] jobs: build: