Skip to content

Commit f72a630

Browse files
committed
chore: update CI
Signed-off-by: Sreekanth <[email protected]>
1 parent 3cb989e commit f72a630

File tree

6 files changed

+22
-4
lines changed

6 files changed

+22
-4
lines changed

.github/workflows/build-push.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Docker Publish
22

33
on:
44
push:
5-
branches: [ main ]
5+
branches: [ main, multiple-packages ]
66
tags:
77
- '*'
88

@@ -12,6 +12,9 @@ jobs:
1212
if: ${{ github.repository }} == "numaproj/numaflow-python"
1313
name: Build, Tag, and Push Image
1414
runs-on: ubuntu-latest
15+
defaults:
16+
run:
17+
working-directory: packages/pynumaflow/
1518

1619
strategy:
1720
matrix:
@@ -50,4 +53,4 @@ jobs:
5053
password: ${{ secrets.NUMAIO_PASSWORD }}
5154
- name: Build, tag, and push images
5255
run: |
53-
./hack/update_examples.sh --build-push-example ${{ matrix.example_directories }}
56+
../../hack/update_examples.sh --build-push-example ${{ matrix.example_directories }}

.github/workflows/coverage.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ jobs:
1010
build:
1111
name: Codecov
1212
runs-on: ubuntu-latest
13+
defaults:
14+
run:
15+
working-directory: packages/pynumaflow/
1316
strategy:
1417
fail-fast: false
1518
matrix:
@@ -40,6 +43,6 @@ jobs:
4043
uses: codecov/codecov-action@v4
4144
with:
4245
token: ${{ secrets.CODECOV_TOKEN }}
43-
files: ./coverage.xml
46+
files: ./packages/pynumaflow/coverage.xml
4447
fail_ci_if_error: true
4548
verbose: true

.github/workflows/lint.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ jobs:
1010
black:
1111
name: Black format
1212
runs-on: ubuntu-latest
13+
defaults:
14+
run:
15+
working-directory: packages/pynumaflow/
1316
steps:
1417
- uses: actions/checkout@v3
1518
- uses: psf/black@stable
@@ -20,6 +23,9 @@ jobs:
2023
ruff:
2124
name: Ruff lint
2225
runs-on: ubuntu-latest
26+
defaults:
27+
run:
28+
working-directory: packages/pynumaflow/
2329
steps:
2430
- uses: actions/checkout@v3
2531
- uses: chartboost/ruff-action@v1

.github/workflows/pypi.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ jobs:
99
if: github.repository == 'numaproj/numaflow-python'
1010
runs-on: ubuntu-latest
1111
environment: production
12+
defaults:
13+
run:
14+
working-directory: packages/pynumaflow/
1215
strategy:
1316
fail-fast: false
1417
matrix:

.github/workflows/run-tests.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ jobs:
1010
build:
1111
name: Python version
1212
runs-on: ubuntu-latest
13+
defaults:
14+
run:
15+
working-directory: packages/pynumaflow/
1316
strategy:
1417
fail-fast: false
1518
matrix:

hack/update_examples.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ fi
7777

7878
if (( usingBuildPushExample )); then
7979
cd "./$directoryPath" || exit
80-
if ! make image-push TAG="$tag"; then
80+
if ! make image TAG="$tag"; then
8181
echo "Error: failed to run make image-push in $directoryPath" >&2
8282
exit 1
8383
fi

0 commit comments

Comments
 (0)