From 892e0a2b75851b027db824d61bb3e49f334b5a13 Mon Sep 17 00:00:00 2001 From: kronenthaler Date: Wed, 11 Oct 2023 20:43:45 +0200 Subject: [PATCH 1/2] improve make file for development usage --- Makefile | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index f4078af..cfd589b 100644 --- a/Makefile +++ b/Makefile @@ -1,12 +1,15 @@ -.PHONY: coverage coverage-term test +.PHONY: coverage coverage-term test install-dependencies -coverage: +coverage: install-dependencies cd tests; pytest --cov-report=xml --cov=../ --cov-branch cd tests; rm -rf .coverage -coverage-term: +coverage-term: install-dependencies cd tests; pytest --cov-report=term --cov=../ --cov-branch cd tests; rm -rf .coverage test: - cd tests; pytest \ No newline at end of file + cd tests; pytest + +install-dependencies: + pip3 install -r dev-requirements.txt From 3caeb180c39f0754a610b40c8bf8d3dc30335127 Mon Sep 17 00:00:00 2001 From: kronenthaler Date: Wed, 11 Oct 2023 20:47:19 +0200 Subject: [PATCH 2/2] update actions --- .github/workflows/branch-check.yml | 6 +++--- .github/workflows/publish.yml | 5 ++--- .github/workflows/stale.yml | 18 ------------------ 3 files changed, 5 insertions(+), 24 deletions(-) delete mode 100644 .github/workflows/stale.yml diff --git a/.github/workflows/branch-check.yml b/.github/workflows/branch-check.yml index 1f15f29..e80137d 100644 --- a/.github/workflows/branch-check.yml +++ b/.github/workflows/branch-check.yml @@ -15,16 +15,16 @@ jobs: strategy: matrix: - python: ['3.7', '3.8', '3.9', '3.x'] + python: ['3.8', '3.9', '3.10', '3.11', '3.x'] steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 - name: Setup - uses: actions/setup-python@v1 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python }} diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index b6af866..11a06cd 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -10,11 +10,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 - id: checkout + uses: actions/checkout@v3 - name: Setup - uses: actions/setup-python@v1 + uses: actions/setup-python@v4 with: python-version: '3.x' diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml deleted file mode 100644 index 8a4655a..0000000 --- a/.github/workflows/stale.yml +++ /dev/null @@ -1,18 +0,0 @@ -name: "close-stale-issues" - -on: - schedule: - - cron: "0 0 1 * *" - -jobs: - stale: - runs-on: ubuntu-latest - steps: - - uses: actions/stale@v1 - with: - repo-token: ${{ secrets.GITHUB_TOKEN }} - days-before-stale: 60 - days-before-close: 10 - stale-issue-message: 'This issue has become stale, the required information has not been provided and it is been marked for closure in the next 10 days' - stale-issue-label: 'not-enough-info' - exempt-issue-label: 'enhancement'