Ankush Menat
ac9cfe7f9f
ci: disable parallel tests ( #18008 )
Not required on stable branches.
2 роки тому
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
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
fba196484c
ci: Conditionally run codecov upload
3 роки тому
Suraj Shetty
f4e477ef42
ci: Run postgres builds as well after a push on develop
3 роки тому
Suraj Shetty
cbd94bd33d
ci: Set name for coverage data upload
3 роки тому
Suraj Shetty
ba73d99377
ci: Enable code coverage for postgres build as well
3 роки тому
Ankush Menat
765a255a00
ci: use ubuntu-latest for all jobs
3 роки тому
Ankush Menat
d0099985fc
ci: concurrency control for postgres
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 роки тому
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
00b6a6729d
ci: Use right parallel test runner command
- Also, fix coverage & coveralls setup
4 роки тому
Suraj Shetty
aab2aca089
ci: 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 роки тому