Commit Graph
16 Commits
Author SHA1 Message Date
Jon Parise 0fec66c71f Remove Danger from the development workflow (#1835)
This has proven hard to maintain, and it has limited benefit now that
our CHANGELOG points to GitHub commit ranges.
2020-05-22 14:55:11 -07:00
vovasty 6eb5c88720 use iOS 13.4.1 and default Xcode 11.4.1 for CI (#1831) 2020-05-21 13:52:54 -07:00
Huy Nguyen ea8172e518 Lint podspec on all pull requests (#1758)
- We recently let a couple of issues slip through code review becase we don't lint our podspec on pull requests since the task takes too long (about half an hour). To prevent this from happening again, this PR adds 2 new CI jobs that lint default and other subspecs on all PRs. By splitting into 2 tasks, the impact on total CI time should be mitigated somewhat. There is still a master-only task that lint all subspecs as the last line of defense in case the 2 new tasks miss any.
2020-01-03 12:48:35 -08:00
vovasty 17b3ae9b03 use iOS 13.0 and Xcode 11 on CI (#1691) 2019-10-08 15:32:48 -07:00
Jakub Kašpar d0ab404c34 [GitHub CI] Revert back to Ruby Danger as Danger JS is not working properly (#1650)
* Update ci.yml

Add name to the script run phase

* Revert back Dangerfile and remove danger JS, create separate workflow for push for tests and for PR for tests + danger, run ruby danger as part of the PR check

* remove PR ci

* Revert "remove PR ci"

This reverts commit 839ba3ae2a.

* cahnge token to default one

* PR feedback

* Rename danger.yml name
2019-08-31 08:14:17 -07:00
Huy Nguyen 28be9bb21e Update Danger workflow (#1636)
Turned out that @babel/plugin-transform-flow-strip-types is needed for TypeScript/Bale transpilation with we don't need because we use JS. So instead of installing the module, we can. just disable transpilation by DANGER_DISABLE_TRANSPILATION environment variable to true.

Test plan: Tested manually here: https://github.com/TextureGroup/Texture/commit/a4cfe347914c23aafe08603bf82372d4cb94136c/checks
2019-08-22 11:29:48 -07:00
Huy Nguyen fff7763279 Run Danger with GitHub Actions (#1635) 2019-08-22 10:20:33 -07:00
Huy Nguyen 57afd63fdd [GitHub CI] Remove build approval step (#1631)
In #1627 I introduced an approval step that is meant to block PRs from forked repos unless they're labeled as "CI approved" by a maintainer. Turned out it doesn't work. When a label is added, a pull_request event with "labeled" as its action is fired but GitHub CI didn't restart the workflow. My guess is it checked the PR's commit and branch and determined that nothing has changed. Here is what the doc says: "A workflow runs on a specific version of code in your repository, determined by the commit SHA and Git ref" (https://help.github.com/en/articles/events-that-trigger-workflows#webhook-events).

This diff removes the label check so all PRs are automatically built. Here are the current usage limits in case we run into them: https://help.github.com/en/articles/workflow-syntax-for-github-actions#usage-limits
2019-08-21 14:53:42 -07:00
Huy Nguyen beadc28934 [GitHub CI] Add step to block PRs from forked repositories unless they have the right label (#1627)
Block pull requests from forked repositories that aren't from, and aren't labeled by, a maintainer. Adding "CI approved" label will unblock them.
2019-08-20 15:24:48 -07:00
Huy Nguyen 33c4b05907 Set up GitHub Actions CI (#1623)
GitHub Actions now supports CI and it's free for open source projects!

Our current CI runs on a single machine and needs 1h 20m for each build. GitHub CI often finishes everything in less than 10m!

The setup is straight-forward. The only missing feature is the ability to exclude certain files so that if a commit only contains those files, the CI won't test it at all (see exclude-from-build.json). Given that GitHub CI is fast and is not a serial queue, I wouldn't mind testing such commit as well.

* Fix and optimize steps that build example projects

- examples-pt3 builds the same examples as examples-pt1 instead of building the remaining projects. So I fixed it.
- Add another mode (examples-pt4) to distribute the load with existing steps.
- Build extra examples (examples-extra-pt{1, 2, 3}) which weren't built before.
- Each examples-pt and examples-extra-pt builds 5 projects except examples-pt4 and examples-extra-pt3 which build 6.

* Use HTTPS URL for Weaver in Podfile of examples/ASDKgram

* Don't build extra examples for now
2019-08-18 16:40:30 -07:00
Garrett Moon 1718eb8bd7 Delete GITHUB_RULES.md 2017-04-14 09:37:33 -07:00
Garrett Moon 379bec2899 Update ISSUE_TEMPLATE.md 2017-04-14 09:37:33 -07:00
Garrett Moon 8f7a632f4c Add the slack channel to the issue template. (#2690) 2016-12-01 14:00:36 -08:00
Hannah Troisi 488db475f4 Update GITHUB_RULES.md 2016-07-11 11:22:11 -07:00
Hannah Troisi 92b412b73f [GitHub Mgmt] Updated Issue Checklist (#1787)
* [ASDK Management] PR / Issue Checklists

* Update ISSUE_TEMPLATE.md

* Remove PR template, add GitHub rules, modify issue template

* Fixed Issue Template
2016-06-20 21:44:48 -07:00
Hannah Troisi 1198f114f2 [ASDK Management] PR / Issue Checklists (#1752)
* [ASDK Management] PR / Issue Checklists

* Update ISSUE_TEMPLATE.md

* Remove PR template, add GitHub rules, modify issue template
2016-06-20 20:17:51 -07:00