-
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.
Separate unit and integration test runs (#98)
- Loading branch information
Showing
25 changed files
with
99 additions
and
52 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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
extends: default | ||
|
||
rules: | ||
line-length: | ||
max: 120 | ||
level: warning | ||
truthy: disable |
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
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
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,31 +1,31 @@ | ||
--- | ||
- import_playbook: images.yml # noqa: name[play] | ||
- import_playbook: images.yml # noqa: name[play] | ||
tags: [images, deps] | ||
|
||
- name: Stack | ||
hosts: stack | ||
run_once: true | ||
tasks: | ||
- ansible.builtin.import_tasks: # noqa: name[missing] | ||
- ansible.builtin.import_tasks: # noqa: name[missing] | ||
file: tasks/pipeline/status.yml | ||
tags: [always] | ||
- ansible.builtin.import_tasks: # noqa: name[missing] | ||
- ansible.builtin.import_tasks: # noqa: name[missing] | ||
file: tasks/stack/status.yml | ||
tags: [always] | ||
- ansible.builtin.import_tasks: # noqa: name[missing] | ||
- ansible.builtin.import_tasks: # noqa: name[missing] | ||
file: tasks/stack/compile.yml | ||
tags: [compile] | ||
# remotely compile stack even if it hasn't changed (it's fast enough) | ||
when: > | ||
is_remote_building or | ||
stack_status is changed | ||
- ansible.builtin.import_tasks: # noqa: name[missing] | ||
- ansible.builtin.import_tasks: # noqa: name[missing] | ||
file: tasks/stack/test.yml | ||
tags: [test] | ||
when: > | ||
stack_status is changed or | ||
pipeline_status is changed | ||
- ansible.builtin.import_tasks: # noqa: name[missing] | ||
- ansible.builtin.import_tasks: # noqa: name[missing] | ||
file: tasks/stack/package.yml | ||
tags: [package] | ||
when: stack_status is changed |
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
PYTHON_VERSION=3.8 | ||
JAVA_VERSION=17.0 | ||
PYTHON_VERSION=3.8 |
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,2 +1,3 @@ | ||
ansible-core==2.13.10 | ||
ansible-lint==6.11.0 | ||
yamllint==1.32.0 |
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,2 +1,2 @@ | ||
PYTHON_VERSION=3.9 | ||
JAVA_VERSION=19.0 | ||
PYTHON_VERSION=3.9 |
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,2 +1,3 @@ | ||
ansible-core==2.15.3 | ||
ansible-lint==6.18.0 | ||
yamllint==1.32.0 |
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
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,11 +1,12 @@ | ||
--- | ||
name: Solution beyond doubt | ||
|
||
on: | ||
push: | ||
branches: [main] | ||
pull_request: | ||
branches: [main] | ||
paths: # waiting for https://github.com/actions/runner/issues/2324 | ||
paths: # waiting for https://github.com/actions/runner/issues/2324 | ||
- libs/** | ||
- apps/** | ||
- schemas/** | ||
|
@@ -46,10 +47,6 @@ jobs: | |
checks: write | ||
packages: write | ||
pull-requests: write | ||
env: | ||
JACOCO_UNITS: tools/target/coverage/units/jacoco.xml | ||
JACOCO_INTEGRATIONS: tools/target/coverage/integrations/jacoco.xml | ||
JACOCO_OVERALL: tools/target/coverage/overall/jacoco.xml | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: ./.github/actions/prepare | ||
|
@@ -96,20 +93,26 @@ jobs: | |
paths: ${{ env.JACOCO_UNITS }} | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
update-comment: true | ||
env: | ||
JACOCO_UNITS: tools/target/coverage/units/jacoco.xml | ||
- uses: madrapps/[email protected] | ||
if: ${{ github.event_name == 'pull_request' && hashFiles(env.JACOCO_INTEGRATIONS) != '' }} | ||
with: | ||
title: Integration Coverage Report | ||
paths: ${{ env.JACOCO_INTEGRATIONS }} | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
update-comment: true | ||
env: | ||
JACOCO_INTEGRATIONS: tools/target/coverage/integrations/jacoco.xml | ||
- uses: madrapps/[email protected] | ||
if: ${{ github.event_name == 'pull_request' && hashFiles(env.JACOCO_OVERALL) != '' }} | ||
with: | ||
title: Overall Coverage Report | ||
paths: ${{ env.JACOCO_OVERALL }} | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
update-comment: true | ||
env: | ||
JACOCO_OVERALL: tools/target/coverage/overall/jacoco.xml | ||
|
||
stack-compiling: | ||
strategy: | ||
|
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
Oops, something went wrong.