Commit graph

24 commits

Author SHA1 Message Date
Ankush Menat
0ca0e22376 ci: setup ssh if test failed 2024-03-15 16:25:51 +05:30
Ankush Menat
2f94dd4ba1
ci: limit timeout to 30 minutes (#25437)
Sometimes tests get stuck and never end, cause unknown.
2024-03-14 09:33:12 +00:00
Ankush Menat
77c907a928 ci: add debug gha option 2024-03-10 12:49:19 +05:30
Ankush Menat
064d97cafe
ci: only capture coverage on non-pull jobs (#24783) 2024-02-06 09:19:03 +00:00
dependabot[bot]
aaf39b8254
chore(deps): bump codecov/codecov-action from 3 to 4 (#24775)
* chore(deps): bump codecov/codecov-action from 3 to 4

Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3 to 4.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v3...v4)

---
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>

* ci: pass codecov token for server tests

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ankush Menat <ankush@frappe.io>
2024-02-06 14:22:26 +05:30
Ankush Menat
40438b400f ci: set node env as production in tests 2024-01-30 21:55:51 +05:30
dependabot[bot]
44e4c87636
chore(deps): bump actions/cache from 3 to 4
Bumps [actions/cache](https://github.com/actions/cache) from 3 to 4.
- [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/v3...v4)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-22 18:49:28 +00:00
Ankush Menat
00f20f43c6
build: add setproctitle as dependency (#24007)
* build: add setproctitle as dependency

RQ and other tools use it to automatically set a useful proc title

* ci: print all bench logs after running tests

This can help reveal failures from background jobs etc
2023-12-28 20:50:27 +05:30
dependabot[bot]
fff9635328
build(deps): bump actions/setup-python from 4 to 5 (#23743)
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4 to 5.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v4...v5)

---
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>
2023-12-12 14:10:44 +05:30
Ankush Menat
4cc1392697 ci: report all errors to sentry
This can be useful.
2023-11-30 17:34:15 +05:30
Ankush Menat
21e8abf899
build: python 3.12 support (#22706)
* ci: use python 3.12

We'll use minimum versions on stable branch CI configs.

* build(deps): bump dependencies

- Some for v12 support
- some just for new stuff
2023-11-23 11:42:51 +05:30
Ankush Menat
3905e8970a test: smtp integration test using smtp4dev 2023-11-04 15:26:40 +05:30
dependabot[bot]
8b0efd5d4f
chore(deps): bump actions/setup-node from 3 to 4 (#22881)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3 to 4.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v3...v4)

---
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>
2023-10-24 12:14:47 +05:30
gavin
c706040c31
ci: Add Coveragerc (#22530) 2023-10-16 18:24:16 +05:30
dependabot[bot]
78d481760c
chore(deps): bump actions/checkout from 3 to 4 (#22310)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [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/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  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>
2023-09-05 10:41:55 +05:30
Ankush Menat
06b86206ef
ci: make auto-merge work with skipped tests (#22070) 2023-08-16 05:55:55 +00:00
Ankush Menat
6dda420176 ci: dont run tests on every push
Rationale:
- PRs already run test by merging PR in develop branch (this is how
  github works)
- Running tests on practically identical code JUST after merge rarely
  helpes. This has found failures from conflicting changes maybe once or
  twice a year. That much CO2 is not justified.
- Instead added daily scheduled tests so things like cypress dashboards
  still work and a *bisect* if requried in future can be done.
2023-07-19 12:15:41 +05:30
Suraj Shetty
5581f960da chore: Update node version requirement in build config 2023-06-26 09:14:17 +05:30
Ankush Menat
6f4a7ddf10 Revert "build(deps)!: Require NodeJS 18 as minimum version (#21303)"
This reverts commit 67cd951013.
2023-06-11 11:40:22 +05:30
Ankush Menat
699e744617 ci: restart bench in patch test
also show bench output
2023-06-10 20:47:27 +05:30
Ankush Menat
67cd951013
build(deps)!: Require NodeJS 18 as minimum version (#21303) 2023-06-10 19:22:57 +05:30
Ankush Menat
f5771baf66
ci: use GITHUB_TOKEN for roulette api calls (#19537)
This is safe cuz we set read only permission on this token in workflows.

NOTE: Changing permission type is dangerous here!
2023-01-09 17:09:59 +05:30
Bread Genie
9e79df9802
ci: use $GITHUB_OUTPUT instead of set-output (#19389)
* refactor(boilerplate): use `$GITHUB_OUTPUT` instead of `set-output`

* ci: use `$GITHUB_OUTPUT` instead of `set-output`

* fix: remove unterminated string literal
2022-12-22 14:16:09 +05:30
Ankush Menat
b304751639
ci: common server test (#19177) 2022-12-08 00:09:59 +05:30
Renamed from .github/workflows/server-postgres-tests.yml (Browse further)