Ankush Menat
0ed7600604
build: py3.11 support ( #18550 )
...
* chore: bump RestrictedPython
* ci: use py3.11 on development version
* fix: py311 compat changes
* chore: bump to final versions
2022-11-03 20:49:05 +05:30
Ankush Menat
6de4d68b24
ci: disable test orchestrator ( #18385 )
2022-10-12 10:10:44 +05:30
phot0n
5d943a4b6e
ci: create only one site/db for CI
...
* removed producer and consumer db and sites
* changed db_names to test_frappe
* moved site_config under helper/db dir
2022-08-26 00:54:13 +05:30
Ankush Menat
9d06979b2d
ci: misc ci things ( #17960 )
...
* ci: skipped jobs should exit with neutral status
* ci: dont cache NPM
We don't use npm, why is this even here?
* ci: supress non-failure compile messages
1000s of files make it difficult to find where failure actually occured.
* ci: install wkhtml after other deps
two apt processes clash each other and waste time till lock is released.
Also silence download... no one cares.
* ci: build assets concurrently
* style: clean up messy bash script
* ci: rename patch job
2022-08-25 19:16:25 +05:30
Ankush Menat
c9da8d87e5
ci: dont submit coverage if tests din't run
2022-08-16 11:49:08 +05:30
gavin
953b6bde2c
ci: Use separate script outside frappe
...
This is an attempt to calculate python coverage more accurately
Co-Authored-By: Ankush Menat <ankush@frappe.io>
2022-08-14 12:57:31 +05:30
Ankush Menat
eab85fc291
ci: stablilize coverage tracking
2022-08-13 21:30:40 +05:30
Ankush Menat
b46ea3eb0b
ci: concurrency group per even types
...
refer: https://github.com/frappe/erpnext/pull/31806
2022-08-09 17:07:51 +05:30
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
2022-07-25 15:26:12 +05:30
gavin
d285ce910f
Merge branch 'develop' into mariadb-client-refactor
2022-07-22 12:11:54 +05:30
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>
2022-07-21 16:54:41 +05:30
Gavin D'souza
448f9573f5
ci: Separate PY / conflict validation step, merge install
2022-07-04 11:57:42 +05:30
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.
2022-06-30 13:11:26 +05:30
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:
2022-06-29 10:44:55 +05:30
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>
2022-06-20 18:40:35 +00:00
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>
2022-06-20 11:50:10 +05:30
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>
2022-06-20 11:49:09 +05:30
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>
2022-06-20 11:48:32 +05:30
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>
2022-06-20 11:48:06 +05:30
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
2022-06-15 15:05:37 +05:30
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>
2022-06-08 11:55:16 +05:30
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.
2021-11-17 15:37:28 +05:30
Gavin D'souza
42acb7647f
ci: Upgrade Py37 to Py39
2021-10-07 20:33:50 +05:30
MitulDavid
b798b96deb
ci: Set Codecov flags to categorize coverage
2021-10-04 08:21:40 +05:30
Ankush Menat
b33b469aff
Merge branch 'develop' into ci_ubuntu_latest
2021-09-07 13:10:56 +05:30
Suraj Shetty
fba196484c
ci: Conditionally run codecov upload
2021-09-06 22:50:42 +05:30
Suraj Shetty
f4e477ef42
ci: Run postgres builds as well after a push on develop
2021-09-02 13:06:48 +05:30
Suraj Shetty
cbd94bd33d
ci: Set name for coverage data upload
2021-09-02 10:53:53 +05:30
Suraj Shetty
ba73d99377
ci: Enable code coverage for postgres build as well
2021-09-02 09:36:57 +05:30
Ankush Menat
765a255a00
ci: use ubuntu-latest for all jobs
2021-08-31 22:31:50 +05:30
Ankush Menat
d0099985fc
ci: concurrency control for postgres
2021-08-27 23:05:09 +05:30
Gavin D'souza
e2585cbc7e
ci(roulette): Add support for running on forks
2021-08-25 13:46:09 +05:30
Gavin D'souza
e01ef7ff52
ci(roulette): Use GitHub REST to figure out changed files
2021-08-25 12:40:44 +05:30
Gavin D'souza
597d237f63
ci: Roulette for GHA
2021-08-24 20:41:24 +05:30
gavin
850939ed13
Revert "ci: ignore js only changes while running unittests ( #13932 )"
...
This reverts commit ead26527b7 .
2021-08-24 13:26:03 +05:30
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
2021-08-13 18:14:47 +05:30
Suraj Shetty
155b28cf51
ci: Update Job names
...
- Also, update mergify rules
2021-05-12 16:29:05 +05:30
Suraj Shetty
ed2a3aa589
ci: Add test orchestrator URL
2021-05-10 23:48:32 +05:30
Suraj Shetty
0d937cda27
fix: Get ORCHESTRATOR_URL from secrets
2021-05-10 16:14:36 +05:30
Suraj Shetty
1829fd3a2b
ci: Run tests using orchestrator
2021-05-10 12:46:02 +05:30
Suraj Shetty
00b6a6729d
ci: Use right parallel test runner command
...
- Also, fix coverage & coveralls setup
2021-05-07 21:59:58 +05:30
Suraj Shetty
aab2aca089
ci: Enable coveralls
2021-05-06 14:52:00 +05:30
Suraj Shetty
ad06165ab5
fix: Use GITHUB_RUN_ID for uniqueness
...
- Also rename tests
2021-05-03 00:41:37 +05:30
Suraj Shetty
7ac3b53c1c
feat: Add support for build combined coverage file
...
- from parallel tests
- Update workflow files
2021-05-02 21:01:47 +05:30