Ankush Menat
cc03176f50
ci: disable coverge on stable branch
Coverage has ~30% overhead, not required on stable branch
пре 2 година
Gavin D'souza
a7ab78bde1
ci(minor): Actions
* Rename CI actions to add database_type
* Add workflow_dispatch to assets build action on develop
* Rename unit test jobs for better labelling on PR check titles
* Rename Patch action for consistency
пре 2 година
Ankush Menat
d2177d16a1
ci: bump node version to node16 ( #17564 )
* ci: bump node version to node16
* chore: remove `node-sass` - no longer used
Co-authored-by: Sagar Vora <sagar@resilient.tech>
пре 2 година
Gavin D'souza
db53813a68
ci(install): Set mariadb root password via envvar
ref: https://github.com/frappe/frappe/runs/7175643618
пре 2 година
Gavin D'souza
65c6914068
ci: Bump mariadb from 10.3 to 10.6
пре 2 година
Gavin D'souza
448f9573f5
ci: Separate PY / conflict validation step, merge install
пре 2 година
Gavin D'souza
404d5a3cd7
build!: Bump minimum Python version to 3.10
Given how widespread PY310's usage has become, and how we're just a
few months away from PY311 major release. This is a slightly late
bumping but necessary to ensure smoother updates & maintenance for
Frappe, ERPNext & other apps in the coming years. Almost all people
who participated in the pool from the community as well as Frappe team
voted (via active telegram groups) PY310 as their preferred minimum
requirement for v14.
пре 2 година
Gavin D'souza
bd3d7bf3ed
ci: Run test builds on min requirement PY38
Since version pinned in pyproject.toml is 38 & we've been running on 39,
we've pushed a few incompatible changes since :crie:
пре 2 година
dependabot[bot]
e12d37a943
build(deps): bump actions/checkout from 2 to 3
Bumps [actions/checkout](https://github.com/actions/checkout ) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
пре 3 година
dependabot[bot]
b04bffe439
build(deps): bump codecov/codecov-action from 2 to 3 ( #17219 )
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 2 to 3.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md )
- [Commits](https://github.com/codecov/codecov-action/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: codecov/codecov-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
пре 3 година
dependabot[bot]
dd5a9e0d9c
build(deps): bump actions/cache from 2 to 3 ( #17220 )
Bumps [actions/cache](https://github.com/actions/cache ) from 2 to 3.
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](https://github.com/actions/cache/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
пре 3 година
dependabot[bot]
7570c0e2a1
build(deps): bump actions/setup-node from 2 to 3 ( #17222 )
Bumps [actions/setup-node](https://github.com/actions/setup-node ) from 2 to 3.
- [Release notes](https://github.com/actions/setup-node/releases )
- [Commits](https://github.com/actions/setup-node/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/setup-node
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
пре 3 година
dependabot[bot]
dd8aabcc2f
build(deps): bump actions/setup-python from 2 to 4 ( #17218 )
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from 2 to 4.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](https://github.com/actions/setup-python/compare/v2...v4 )
---
updated-dependencies:
- dependency-name: actions/setup-python
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
пре 3 година
Gavin D'souza
59ab6531c9
ci: Invalidate GHA pip cache on pyproject or setup changes
- Cache invalidated if any of the files change: *requirements.txt,
pyproject.toml, setup.py or setup.cfg
- Updated boilerplate for new apps too
пре 3 година
Naveen
fd8af163ba
ci: Set permissions for GitHub actions ( #17102 )
chore: Set permissions for GitHub actions
Restrict the GitHub token permissions only to the required ones; this way, even if the attackers will succeed in compromising your workflow, they won’t be able to do much.
- Included permissions for the action. https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions
https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions
https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs
[Keeping your GitHub Actions and workflows secure Part 1: Preventing pwn requests](https://securitylab.github.com/research/github-actions-preventing-pwn-requests/ )
Signed-off-by: naveen <172697+naveensrinivasan@users.noreply.github.com>
пре 3 година
Ankush Menat
d79450c501
ci: add timeout to CI jobs ( #15000 )
once a day some job gets stuck and default timeout is 6 hours.
Changed timeout to 1 hour which is 3-4x more than max running time of
all jobs.
пре 3 година
Gavin D'souza
42acb7647f
ci: Upgrade Py37 to Py39
пре 3 година
MitulDavid
b798b96deb
ci: Set Codecov flags to categorize coverage
пре 3 година
Suraj Shetty
8b252d493a
ci: Conditionally run codecov upload
пре 3 година
Suraj Shetty
cbd94bd33d
ci: Set name for coverage data upload
пре 3 година
Suraj Shetty
cf028964f3
CI: Use codecov coverage reporting
Why?
- Coveralls had login issues and we were not able to view files to find the actual uncovered lines
- Codecov has better reporting (status checks & commit diff coverage, ), UX (better folder/file navigation, faster page loads), and has more features.
- Codecov will not require additional step of
coverage wrap-up for parallel builds (it manages it internally somehow).
пре 3 година
Ankush Menat
765a255a00
ci: use ubuntu-latest for all jobs
пре 3 година
Ankush Menat
132864a776
ci: extend concurrency control to all long jobs
пре 3 година
Ankush Menat
a5e9d1ef4d
ci: concurrency control for CI jobs
When same PR causes multiple CI triggers due to rapid addition of new
commits, this change will cancel previous CI jobs to save resources.
пре 3 година
Gavin D'souza
8412674f49
fix(ci): Don't skip Coverage job unconditionally
pls ;)
пре 3 година
Gavin D'souza
e2585cbc7e
ci(roulette): Add support for running on forks
пре 3 година
Gavin D'souza
e01ef7ff52
ci(roulette): Use GitHub REST to figure out changed files
пре 3 година
Gavin D'souza
597d237f63
ci: Roulette for GHA
пре 3 година
gavin
850939ed13
Revert "ci: ignore js only changes while running unittests ( #13932 )"
This reverts commit ead26527b7
.
пре 3 година
Ankush Menat
ead26527b7
ci: ignore js only changes while running unittests ( #13932 )
* ci: ignore js only changes while running unittests
- IF PR only changes JS files then unittests / patch tests wont run.
- Change done to save resources / concurrent builds.
* ci: ignore md files in build
пре 3 година
Gavin D'souza
0d8aeba3ee
fix: Update coverage omit files
Files that don't end with .py or .pyo ot .pyc are automatically
skipped by coveragepy. Updated omit list accordingly to remove non
python importable files.
ref: https://coverage.readthedocs.io/en/coverage-5.5/source.html#execution
пре 4 година
Suraj Shetty
8764134309
ci: Run mariadb tests after PR merge for coverage badge
пре 4 година
Suraj Shetty
155b28cf51
ci: Update Job names
- Also, update mergify rules
пре 4 година
Suraj Shetty
ed2a3aa589
ci: Add test orchestrator URL
пре 4 година
Suraj Shetty
0d937cda27
fix: Get ORCHESTRATOR_URL from secrets
пре 4 година
Suraj Shetty
1829fd3a2b
ci: Run tests using orchestrator
пре 4 година
Suraj Shetty
03d3d67b93
ci: Trial to fix coveralls
пре 4 година
Suraj Shetty
00b6a6729d
ci: Use right parallel test runner command
- Also, fix coverage & coveralls setup
пре 4 година
Suraj Shetty
5ccccf104d
chore: Track before test time
пре 4 година
Suraj Shetty
3e7b48438c
chore: Debug
пре 4 година
Suraj Shetty
aab2aca089
ci: Enable coveralls
пре 4 година
Suraj Shetty
22dfb6a3d8
ci: Fix path-to-cov
пре 4 година
Suraj Shetty
c5910f91ee
ci: Fix coverage file path
пре 4 година
Suraj Shetty
0375b9f3af
chore: Enable coveralls
пре 4 година
Suraj Shetty
ad06165ab5
fix: Use GITHUB_RUN_ID for uniqueness
- Also rename tests
пре 4 година
Suraj Shetty
7ac3b53c1c
feat: Add support for build combined coverage file
- from parallel tests
- Update workflow files
пре 4 година