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 лет назад
Ankush Menat
234c8beed6
ci: faster patch test ( #17386 )
* ci: slightly faster patch test
This workflow doesn't seem to properly cache built versions :)
* ci: bump pyenv action to latest version
latest version has fix for tool cache
[skip ci]
2 лет назад
Gavin D'souza
448f9573f5
ci: Separate PY / conflict validation step, merge install
2 лет назад
Gavin D'souza
95ad77584a
ci: Install bench CLI before switching pyenv
2 лет назад
Gavin D'souza
80f36b255a
ci: Install bench CLI to system python
2 лет назад
Gavin D'souza
c2516c7460
ci(patch): Install bench CLI on all Python envs
\# HACK
2 лет назад
Gavin D'souza
f44333a18e
ci: Use bench commands with verbose option
2 лет назад
Gavin D'souza
4451773daa
ci: Fetch pyenv installed specific version
2 лет назад
Gavin D'souza
f16a24a777
ci: Set pyenv version to 310 before running install step
2 лет назад
Gavin D'souza
ab54e72cbc
ci(patch): Switch Python env for each version
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]
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
21bad02b72
ci: Remove dependency on requirements.txt for builds
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 лет назад
Ankush Menat
5b0312c258
Revert "ci: correct last commit for patch test ( #17113 )"
This reverts commit 4c8787d523
.
3 лет назад
Ankush Menat
4c8787d523
ci: correct last commit for patch test ( #17113 )
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 лет назад
Suraj Shetty
8a84ae4f08
ci: Use node version 14 to avoid node-sass failure in patch testing build ( #15176 )
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 лет назад
Ankush Menat
b70251baba
ci: user hotfix branches for patch test
3 лет назад
Gavin D'souza
42acb7647f
ci: Upgrade Py37 to Py39
3 лет назад
Ankush Menat
c1f9231d72
fix: install future and minor changes
minor changes:
1. quitely checkout new tags
2. avoid changing directory
3. use pip instead of bench to install deps.
3 лет назад
Ankush Menat
42791744ff
test: migration tests each version at a time
3 лет назад
Ankush Menat
b140bb3f43
test: run patch test to last release and PR
In the patch test, instead of migrating to the current SHA directly.
Migrate to the latest release (with code at the time of release) and
then migrate to last commit in PR.
Why? When directly migrating, the previous patches that would've run
with old code have access to the new code and it's not realistic. This
change brings it a little bit closer to reality. Hence missing failures
that would occur with IRL installations.
3 лет назад
Ankush Menat
765a255a00
ci: use ubuntu-latest for all jobs
3 лет назад
Ankush Menat
132864a776
ci: extend concurrency control to all long jobs
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
95ab1a60b4
ci: Add frappe patch test
* Generated v10 backup archive
* used old v7 erpnext backup hosted via build.erpnext.com
* upgraded to v10 frappe + erpnext
* uninstalled and deleted erpnext related data
* Hosted backup on https://frappeframework.com/files/v10-frappe.sql.gz
4 лет назад
Suraj Shetty
ab9b6bf36e
ci: Run ui tests after PR merge for status badge
4 лет назад
Faris Ansari
d90660affe
fix: Set node to version 14 again
4 лет назад
Suraj Shetty
155b28cf51
ci: Update Job names
- Also, update mergify rules
4 лет назад
Suraj Shetty
e33a09f4e6
refactor: Test runner
- fix style
- Handle global dependency
4 лет назад
Suraj Shetty
ad06165ab5
fix: Use GITHUB_RUN_ID for uniqueness
- Also rename tests
4 лет назад
Suraj Shetty
cf0e15e264
feat: Enable cypress parallel testing
4 лет назад
Suraj Shetty
7ac3b53c1c
feat: Add support for build combined coverage file
- from parallel tests
- Update workflow files
4 лет назад