Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI Workflow #2

Merged
merged 29 commits into from
Oct 28, 2024
Merged

CI Workflow #2

merged 29 commits into from
Oct 28, 2024

Conversation

mposluszny-splunk
Copy link
Collaborator

@mposluszny-splunk mposluszny-splunk commented Oct 23, 2024

  • Introduced CI for soar-asset-mocker
  • Linting rules match dev-cicd-tools rules (orghooks couldn't be directly implemented as it would override pyproject.toml, see PAPP-34977)
  • Reformatted files according to new rules
  • Introduced code coverage reports

@mposluszny-splunk mposluszny-splunk self-assigned this Oct 23, 2024
@mposluszny-splunk mposluszny-splunk changed the title Testing Workflow CI Workflow Oct 23, 2024
tox.ini Outdated Show resolved Hide resolved
pyproject.toml Outdated Show resolved Hide resolved
.github/workflows/ci.yml Show resolved Hide resolved
.pre-commit-config.yaml Outdated Show resolved Hide resolved
pyproject.toml Outdated Show resolved Hide resolved
pyproject.toml Outdated Show resolved Hide resolved
pyproject.toml Show resolved Hide resolved
pyproject.toml Outdated Show resolved Hide resolved
@mposluszny-splunk mposluszny-splunk merged commit e08d829 into main Oct 28, 2024
3 checks passed
@mposluszny-splunk mposluszny-splunk deleted the workflow_template branch October 28, 2024 11:02
mposluszny-splunk added a commit that referenced this pull request Dec 18, 2024
* testing workflow

* linting fixes

* merged linting and testing to one workflow

* name refactor, poetry install in testing

* poetry lock update

* ci, precommit config

* poetry run

* align with cicd dev

* align line length with cicd tools

* urllib3 explicitly specified to match SOAR package

* coverage as a separate job, markdown output

* push, pr only to main

* typo artifact pattern fix

* .coverage wildcard removal

* debug ls

* rename report

* debug

* move .coverage

* code cov limit 90%

* removed debug ls

* Dispute on line length resolved.

* fix fetch strings

* own linting action

* Moved to ruff, enforced stricter rules. Added poetry update to precommit

* Update pyproject.toml

Co-authored-by: bb-splunk <[email protected]>

* type-requests for mypy

* removed unused noqa, improved comment styling

* Update pyproject.toml

Co-authored-by: bb-splunk <[email protected]>

* poetry lock update

---------

Co-authored-by: bb-splunk <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants