-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MOD] gha workflows by using gha repo [skip ci]
Signed-off-by: anuttinck <[email protected]>
- Loading branch information
1 parent
58b5205
commit 28e6985
Showing
8 changed files
with
61 additions
and
260 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,37 @@ | ||
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions | ||
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions | ||
|
||
name: Branch Coverage | ||
|
||
on: | ||
push: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
coverage: | ||
runs-on: ubuntu-latest | ||
runs-on: gha-runners-delib-py3 | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
python-version: ["3.12"] | ||
plone-version: ["6.0"] | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- name: Cache eggs | ||
uses: actions/cache@v2 | ||
- name: Run check | ||
uses: IMIO/gha/plone-package-test-notify@v3 | ||
env: | ||
cache-name: cache-eggs | ||
with: | ||
path: ./buildout-cache/eggs | ||
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ matrix.python-version }} }} | ||
restore-keys: ${{ runner.os }}-build-${{ env.cache-name }}-${{ matrix.python-version }} | ||
- name: Buildout action | ||
uses: IMIO/plonemeeting.portal.core/actions/buildout/@master | ||
with: | ||
py-version: ${{ matrix.python-version }} | ||
plone-version: ${{ matrix.plone-version }} | ||
- name: Coverage action | ||
uses: IMIO/plonemeeting.portal.core/actions/coverage/@master | ||
with: | ||
PYTHON_VERSION: ${{ matrix.python-version }} | ||
CACHE_KEY: ${{ runner.os }}-build-${{ env.cache-name }}-${{ matrix.python-version }} | ||
TEST_COMMAND: coverage run bin/test | ||
REQUIREMENTS_FILE: 'requirements-tests.txt' | ||
MATTERMOST_WEBHOOK_URL: ${{ secrets.DELIB_MATTERMOST_WEBHOOK_URL }} | ||
BUILDOUT_CONFIG_FILE: 'test-${{ matrix.plone-version }}.cfg' | ||
- name: Report | ||
run: | | ||
coverage report | ||
coverage xml | ||
shell: bash | ||
- name: Publish to Coveralls | ||
run: | | ||
coveralls --service=github | ||
shell: bash | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.