-
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.
#126: Bring workflow actions up to date
* unified actions names and filenames * added test filename check * streamlined job steps
- Loading branch information
Showing
6 changed files
with
56 additions
and
11 deletions.
There are no files selected for viewing
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,4 +1,4 @@ | ||
name: Auto Assign Issue to Project | ||
name: Assign Issue to Project | ||
|
||
on: | ||
issues: | ||
|
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 |
---|---|---|
|
@@ -23,7 +23,8 @@ on: | |
types: [ assigned, opened, synchronize, reopened, labeled ] | ||
|
||
jobs: | ||
build: | ||
build-test-and-doc: | ||
name: Build, test and doc | ||
runs-on: ubuntu-latest | ||
services: | ||
postgres: | ||
|
@@ -42,7 +43,6 @@ jobs: | |
fail-fast: false | ||
matrix: | ||
scala: [2.12.17, 2.13.12] | ||
name: Build and test | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
|
@@ -52,7 +52,9 @@ jobs: | |
java-version: "[email protected]" | ||
- name: Build and run unit tests | ||
run: sbt ++${{matrix.scala}} test | ||
- name: Generate documentation | ||
run: sbt ++${{matrix.scala}} doc | ||
- name: Prepare testing database | ||
run: sbt flywayMigrate | ||
- name: Build and run integration tests | ||
run: sbt ++${{matrix.scala}} testIT doc | ||
- name: Run integration tests | ||
run: sbt ++${{matrix.scala}} testIT |
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,4 +1,4 @@ | ||
name: Dependent Issues | ||
name: Dependent Items | ||
|
||
on: | ||
issues: | ||
|
@@ -24,7 +24,8 @@ on: | |
- cron: '0 0 * * *' | ||
|
||
jobs: | ||
check: | ||
dependent-items-check: | ||
name: Dependent Items Check | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: z0al/[email protected] | ||
|
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
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 |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# | ||
# Copyright 2022 ABSA Group Limited | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# | ||
|
||
name: Test Filenames Check | ||
|
||
on: | ||
pull_request: | ||
branches: [ master ] | ||
types: [ opened, synchronize, reopened ] | ||
|
||
jobs: | ||
test_filenames_check: | ||
name: Test Filenames Check | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Filename Inspector | ||
id: scan-test-files | ||
uses: AbsaOSS/filename-inspector@master | ||
with: | ||
name-patterns: '*UnitTests.*,*IntegrationTests.*' | ||
paths: '**/src/test/scala/**' | ||
report-format: 'console' | ||
excludes: '' | ||
verbose-logging: 'false' | ||
fail-on-violation: 'true' |