Skip to content

Commit 59051a8

Browse files
committed
uplift to latest
1 parent b2c9b1d commit 59051a8

14 files changed

+181
-382
lines changed

.bumpversion.cfg

+1-6
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,10 @@ current_version = 0.1.0
33
commit = True
44
tag = True
55

6-
[bumpversion:file:pyproject_cookiecutter_example/_version.py]
6+
[bumpversion:file:airflow_supervisor/__init__.py]
77
search = __version__ = "{current_version}"
88
replace = __version__ = "{new_version}"
99

10-
1110
[bumpversion:file:pyproject.toml]
1211
search = version="{current_version}"
1312
replace = version="{new_version}"
14-
15-
[bumpversion:file:setup.py]
16-
search = version="{current_version}"
17-
replace = version="{new_version}"

.github/workflows/build.yml

+13-21
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,9 @@ on:
44
push:
55
branches:
66
- main
7-
# NOTE: can delete these, used by CI
8-
- python
9-
- cpp
10-
- js
11-
- jupyter
12-
- rust
137
tags:
148
- v*
159
paths-ignore:
16-
- docs/
17-
- CONTRIBUTING.md
1810
- LICENSE
1911
- README.md
2012
pull_request:
@@ -48,43 +40,43 @@ jobs:
4840
with:
4941
python-version: ${{ matrix.python-version }}
5042
cache: 'pip'
51-
cache-dependency-path: 'setup.py'
43+
cache-dependency-path: 'pyproject.toml'
5244

5345
- name: Install dependencies
54-
run: |
55-
make develop
46+
run: make develop
5647

5748
- name: Lint
58-
run: |
59-
make lint
49+
run: make lint
6050
if: ${{ matrix.os == 'ubuntu-latest' }}
6151

6252
- name: Checks
63-
run: |
64-
make checks
53+
run: make checks
6554
if: ${{ matrix.os == 'ubuntu-latest' }}
6655

6756
- name: Build
68-
run: |
69-
make build
57+
run: make build
7058

7159
- name: Test
72-
run: |
73-
make tests
60+
run: make coverage
7461
if: ${{ matrix.os == 'ubuntu-latest' }}
7562

7663
- name: Upload test results
7764
uses: actions/upload-artifact@v4
7865
with:
7966
name: pytest-results-${{ matrix.os }}-${{ matrix.python-version }}
80-
path: python_junit.xml
67+
path: junit.xml
8168
if: ${{ always() }}
8269

8370
- name: Publish Unit Test Results
8471
uses: EnricoMi/publish-unit-test-result-action@v2
8572
with:
86-
files: python_junit.xml
73+
files: |
74+
**/junit.xml
8775
if: ${{ matrix.os == 'ubuntu-latest' }}
8876

8977
- name: Upload coverage
9078
uses: codecov/codecov-action@v3
79+
80+
- name: Make dist
81+
run: make dist
82+
if: ${{ matrix.os == 'ubuntu-latest' }}

.github/workflows/publish.yml

-53
This file was deleted.

.github/workflows/workflows/build.yml

-92
This file was deleted.

0 commit comments

Comments
 (0)