-
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.
ci(workflows): Reviewed and replaced contents of workflows with share…
…able workflow repo
- Loading branch information
1 parent
4da3502
commit ea26f2f
Showing
3 changed files
with
15 additions
and
138 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
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,55 +1,12 @@ | ||
name: Linting & Coverage | ||
|
||
name: Dependabot auto-merge & tests | ||
on: | ||
workflow_call: | ||
pull_request: | ||
types: | ||
- opened | ||
- synchronize | ||
|
||
jobs: | ||
test: | ||
name: 🧪 Linting | ||
runs-on: ${{ vars.RTLDEV_MW_CI_OS }} | ||
permissions: | ||
contents: read | ||
container: | ||
image: perldocker/perl-tester:latest | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
persist-credentials: false | ||
- name: APT Packages | ||
run: apt install -y perl-doc ctags perltidy | ||
- name: Super Linter Code Base | ||
uses: github/super-linter/slim@v5 | ||
env: | ||
FILTER_REGEX_INCLUDE: "/lib/*|/t/*|/scripts/.*.sh|updateVersion.sh" | ||
DEFAULT_BRANCH: master | ||
VALIDATE_PERL: true | ||
VALIDATE_BASH: true | ||
VALIDATE_ALL_CODEBASE: false | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
test_matrix: | ||
name: 🧪 Testing | ||
needs: test | ||
runs-on: ${{ vars.RTLDEV_MW_CI_OS }} | ||
permissions: | ||
contents: read | ||
container: | ||
image: perldocker/perl-tester:${{ matrix.perl-version }} | ||
strategy: | ||
matrix: | ||
perl-version: ${{ fromJson(vars.RTLDEV_MW_CI_PERL_MATRIX) }} | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
persist-credentials: false | ||
- name: APT Packages | ||
run: apt install -y perl-doc ctags perltidy | ||
- name: Generate Coverage Report | ||
run: | | ||
cpm install -g --no-test --show-build-log-on-failure --cpanfile cpanfile | ||
./scripts/coverage.sh | ||
tests: | ||
uses: centralnicgroup-opensource/rtldev-middleware-shareable-workflows/.github/workflows/auto-merge-dependabot-pr.yml | ||
with: | ||
requestedFrom: perl-sdk |