summaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/automerge.yml1
-rw-r--r--.github/workflows/build.yml2
-rw-r--r--.github/workflows/linters.yml10
-rw-r--r--.github/workflows/pr-check.yml12
-rw-r--r--.github/workflows/pypi.yml2
-rw-r--r--.github/workflows/tests-macos.yml17
-rw-r--r--.github/workflows/tests.yml13
7 files changed, 19 insertions, 38 deletions
diff --git a/.github/workflows/automerge.yml b/.github/workflows/automerge.yml
index aa0e102..0fde336 100644
--- a/.github/workflows/automerge.yml
+++ b/.github/workflows/automerge.yml
@@ -8,7 +8,6 @@ on:
# List all required workflow names here.
- 'Run linters'
- 'Run tests'
- - 'Run tests on macos'
- 'Test build package'
- 'Run test commands'
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index ebaa45f..da5c867 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -8,4 +8,4 @@ on:
jobs:
build:
- uses: fizyk/actions-reuse/.github/workflows/pypi.yml@v2.1.2
+ uses: fizyk/actions-reuse/.github/workflows/pypi.yml@v2.4.0
diff --git a/.github/workflows/linters.yml b/.github/workflows/linters.yml
index dec9e2e..4fc4404 100644
--- a/.github/workflows/linters.yml
+++ b/.github/workflows/linters.yml
@@ -3,16 +3,12 @@ name: Run linters
on:
push:
branches: [ master ]
- paths:
- - '**.py'
- - .github/workflows/linters.yml
- - requirements-lint.txt
pull_request:
branches: [ master ]
jobs:
lint:
- uses: fizyk/actions-reuse/.github/workflows/linters-python.yml@v2.1.2
+ uses: fizyk/actions-reuse/.github/workflows/linters-python.yml@v2.4.0
with:
- pipenv: true
mypy: true
- pydocstyle: false \ No newline at end of file
+ ruff: true
+ black: true \ No newline at end of file
diff --git a/.github/workflows/pr-check.yml b/.github/workflows/pr-check.yml
index 758fd46..22525ea 100644
--- a/.github/workflows/pr-check.yml
+++ b/.github/workflows/pr-check.yml
@@ -9,19 +9,17 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out repository
- uses: actions/checkout@v3
- - uses: fizyk/actions-reuse/.github/actions/pipenv@v2.1.2
+ uses: actions/checkout@v4
+ - uses: fizyk/actions-reuse/.github/actions/pipenv@v2.4.0
with:
- python-version: "3.11"
- pipenv-install-options: "--skip-lock"
+ python-version: "3.12"
command: tbump --dry-run --only-patch $(pipenv run tbump current-version)"-x"
towncrier:
runs-on: ubuntu-latest
if: ${{ github.actor != 'dependabot[bot]' }}
steps:
- - uses: fizyk/actions-reuse/.github/actions/pipenv@v2.1.2
+ - uses: fizyk/actions-reuse/.github/actions/pipenv@v2.4.0
with:
- python-version: "3.11"
- pipenv-install-options: "--skip-lock"
+ python-version: "3.12"
command: towncrier check --compare-with origin/master
fetch-depth: 0
diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml
index f90d2ce..b86f43a 100644
--- a/.github/workflows/pypi.yml
+++ b/.github/workflows/pypi.yml
@@ -5,7 +5,7 @@ on:
- v*
jobs:
build:
- uses: fizyk/actions-reuse/.github/workflows/pypi.yml@v2.1.2
+ uses: fizyk/actions-reuse/.github/workflows/pypi.yml@v2.4.0
with:
publish: true
secrets:
diff --git a/.github/workflows/tests-macos.yml b/.github/workflows/tests-macos.yml
deleted file mode 100644
index 4732209..0000000
--- a/.github/workflows/tests-macos.yml
+++ /dev/null
@@ -1,17 +0,0 @@
-name: Run tests on macos
-
-on:
- push:
- branches: [ master ]
- pull_request:
- branches: [ master ]
-
-
-jobs:
- tests:
- uses: fizyk/actions-reuse/.github/workflows/tests-pytests.yml@v2.1.2
- with:
- python-versions: '["3.7", "3.8", "3.9", "3.10", "3.11", "pypy-3.8"]'
- os: macos-latest
- pipenv: true
- pipenv-install-options: --skip-lock
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index adbb036..d3f05ef 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -8,8 +8,13 @@ on:
jobs:
tests:
- uses: fizyk/actions-reuse/.github/workflows/tests-pytests.yml@v2.1.2
+ uses: fizyk/actions-reuse/.github/workflows/tests-pytests.yml@v2.4.0
with:
- python-versions: '["3.7", "3.8", "3.9", "3.10", "3.11", "pypy-3.8"]'
- pipenv: true
- pipenv-install-options: --skip-lock
+ python-versions: '["3.8", "3.9", "3.10", "3.11", "3.12", "pypy-3.8"]'
+ tests-macos:
+ needs:
+ - tests
+ uses: fizyk/actions-reuse/.github/workflows/tests-pytests.yml@v2.4.0
+ with:
+ python-versions: '["3.8", "3.9", "3.10", "3.11", "3.12", "pypy-3.8"]'
+ os: macos-latest