Skip to content

Commit

Permalink
Merge pull request #169 from coveooss/chore/reduce-footprint
Browse files Browse the repository at this point in the history
reduce the amount of jobs
  • Loading branch information
jonapich authored Oct 27, 2023
2 parents b4316ef + 27e98a8 commit 865226d
Show file tree
Hide file tree
Showing 13 changed files with 183 additions and 239 deletions.
42 changes: 0 additions & 42 deletions .github/workflows/actions/stew-ci/action.yml

This file was deleted.

18 changes: 11 additions & 7 deletions .github/workflows/coveo-arnparse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,19 @@ on:
- main
paths:
- 'coveo-arnparse/**'
- '.github/workflows/**'

pull_request:
types: [opened, synchronize, reopened]
paths:
- 'coveo-arnparse/**'
- '.github/workflows/**'
- '.github/workflows/coveo-arnparse.yml'

workflow_dispatch:
inputs:
publish:
description: "Publish to pypi.org?"
required: false
default: 'false'

jobs:
stew:
Expand All @@ -22,18 +28,16 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [3.8, 3.9, "3.10"]
python-version: [3.8, "3.10"]
os: [ubuntu-latest, windows-latest, macos-latest]

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Run stew ci
uses: ./.github/workflows/actions/stew-ci
uses: coveo/stew@main
with:
project-name: ${{ github.workflow }}
python-version: ${{ matrix.python-version }}
poetry-version: "<2"

publish:
name: Publish to pypi.org
Expand Down
18 changes: 11 additions & 7 deletions .github/workflows/coveo-example-library.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,19 @@ on:
- main
paths:
- 'coveo-example-library/**'
- '.github/workflows/**'

pull_request:
types: [opened, synchronize, reopened]
paths:
- 'coveo-example-library/**'
- '.github/workflows/**'
- '.github/workflows/coveo-example-library.yml'

workflow_dispatch:
inputs:
publish:
description: "Publish to pypi.org?"
required: false
default: 'false'

jobs:
pyprojectci:
Expand All @@ -22,18 +28,16 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [3.8, 3.9, "3.10"]
python-version: [3.8, "3.10"]
os: [ubuntu-latest, windows-latest, macos-latest]

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Run stew ci
uses: ./.github/workflows/actions/stew-ci
uses: coveo/stew@main
with:
project-name: ${{ github.workflow }}
python-version: ${{ matrix.python-version }}
poetry-version: "<2"

publish:
name: Publish to pypi.org
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/coveo-functools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ on:
types: [opened, synchronize, reopened]
paths:
- 'coveo-functools/**'
- '.github/workflows/coveo-functools.yml'

workflow_dispatch:
inputs:
Expand All @@ -27,18 +28,16 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [3.8, 3.9, "3.10"]
python-version: [3.8, "3.10"]
os: [ubuntu-latest, windows-latest, macos-latest]

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Run stew ci
uses: ./.github/workflows/actions/stew-ci
uses: coveo/stew@main
with:
project-name: ${{ github.workflow }}
python-version: ${{ matrix.python-version }}
poetry-version: "<2"

publish:
name: Publish to pypi.org
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/coveo-itertools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ on:
types: [opened, synchronize, reopened]
paths:
- 'coveo-itertools/**'
- '.github/workflows/coveo-itertools.yml'

workflow_dispatch:
inputs:
Expand All @@ -28,18 +29,16 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [3.8, 3.9, "3.10"]
python-version: [3.8, "3.10"]
os: [ubuntu-latest, windows-latest, macos-latest]

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Run stew ci
uses: ./.github/workflows/actions/stew-ci
uses: coveo/stew@main
with:
project-name: ${{ github.workflow }}
python-version: ${{ matrix.python-version }}
poetry-version: "<2"

publish:
name: Publish to pypi.org
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/coveo-pypi-cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ on:
types: [opened, synchronize, reopened]
paths:
- 'coveo-pypi-cli/**'
- '.github/workflows/coveo-pypi-cli.yml'

workflow_dispatch:
inputs:
Expand All @@ -28,18 +29,16 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [3.8, 3.9, "3.10"]
python-version: [3.8, "3.10"]
os: [ubuntu-latest, windows-latest, macos-latest]

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Run stew ci
uses: ./.github/workflows/actions/stew-ci
uses: coveo/stew@main
with:
project-name: ${{ github.workflow }}
python-version: ${{ matrix.python-version }}
poetry-version: "<2"

publish:
name: Publish to pypi.org
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/coveo-settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ on:
types: [opened, synchronize, reopened]
paths:
- 'coveo-settings/**'
- '.github/workflows/coveo-settings.yml'

workflow_dispatch:
inputs:
Expand All @@ -28,18 +29,16 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [3.8, 3.9, "3.10"]
python-version: [3.8, "3.10"]
os: [ubuntu-latest, windows-latest, macos-latest]

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Run stew ci
uses: ./.github/workflows/actions/stew-ci
uses: coveo/stew@main
with:
project-name: ${{ github.workflow }}
python-version: ${{ matrix.python-version }}
poetry-version: "<2"

publish:
name: Publish to pypi.org
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/coveo-styles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ on:
types: [opened, synchronize, reopened]
paths:
- 'coveo-styles/**'
- '.github/workflows/coveo-styles.yml'

workflow_dispatch:
inputs:
Expand All @@ -28,18 +29,16 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [3.8, 3.9, "3.10"]
python-version: [3.8, "3.10"]
os: [ubuntu-latest, windows-latest, macos-latest]

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Run stew ci
uses: ./.github/workflows/actions/stew-ci
uses: coveo/stew@main
with:
project-name: ${{ github.workflow }}
python-version: ${{ matrix.python-version }}
poetry-version: "<2"

publish:
name: Publish to pypi.org
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/coveo-systools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ on:
types: [opened, synchronize, reopened]
paths:
- 'coveo-systools/**'
- '.github/workflows/coveo-systools.yml'

workflow_dispatch:
inputs:
Expand All @@ -28,18 +29,16 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [3.8, 3.9, "3.10"]
python-version: [3.8, "3.10"]
os: [ubuntu-latest, windows-latest, macos-latest]

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Run stew ci
uses: ./.github/workflows/actions/stew-ci
uses: coveo/stew@main
with:
project-name: ${{ github.workflow }}
python-version: ${{ matrix.python-version }}
poetry-version: "<2"

publish:
name: Publish to pypi.org
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/coveo-testing-extras.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ on:
types: [opened, synchronize, reopened]
paths:
- 'coveo-testing-extras/**'
- '.github/workflows/coveo-testing-extras.yml'

workflow_dispatch:
inputs:
Expand All @@ -28,18 +29,16 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [3.8, 3.9]
python-version: [3.8, "3.10"]
os: [ubuntu-latest, windows-latest, macos-latest]

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Run stew ci
uses: ./.github/workflows/actions/stew-ci
uses: coveo/stew@main
with:
project-name: ${{ github.workflow }}
python-version: ${{ matrix.python-version }}
poetry-version: "<2"

publish:
name: Publish to pypi.org
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/coveo-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ on:
types: [opened, synchronize, reopened]
paths:
- 'coveo-testing/**'
- '.github/workflows/coveo-testing.yml'

workflow_dispatch:
inputs:
Expand All @@ -28,18 +29,16 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [3.8, 3.9, "3.10"]
python-version: [3.8, "3.10"]
os: [ubuntu-latest, windows-latest, macos-latest]

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Run stew ci
uses: ./.github/workflows/actions/stew-ci
uses: coveo/stew@main
with:
project-name: ${{ github.workflow }}
python-version: ${{ matrix.python-version }}
poetry-version: "<2"

publish:
name: Publish to pypi.org
Expand Down
Loading

0 comments on commit 865226d

Please sign in to comment.