1
0
mirror of https://github.com/google/fonts.git synced 2024-12-15 19:52:21 +03:00
Commit Graph

9 Commits

Author SHA1 Message Date
Marc Foley
66885185d5
Update test_server_files.yaml 2021-06-24 10:32:46 +01:00
Rosalie Wagner
ba4e1c9de2 Update test.yaml
Added ttfautohint to avoid error with Fontbakery.
2021-05-19 06:13:47 -04:00
Marc Foley
5069c3df0e
CI: tests for designer profiles (#3268) 2021-04-01 11:15:05 +01:00
Seth Vargo
78219a7b6d
Improve Actions hygiene (#3165)
👋 hello there! I'm a fellow Googler who works on projects that leverage GitHub Actions for CI/CD. Recently I noticed a large increase in our queue time, and I've tracked it down to the [limit of 180 concurrent jobs](https://docs.github.com/en/actions/reference/usage-limits-billing-and-administration) for an organization. To help be better citizens, I'm proposing changes across a few repositories that will reduce GitHub Actions hours and consumption. I hope these changes are reasonable and I'm happy to talk through them in more detail.

- Only run GitHub Actions for pushes and PRs against the main branch of the repository. If your team uses a forking model, this change will not affect you. If your team pushes branches to the repository directly, this changes actions to only run against the primary branches or if you open a Pull Request against a primary branch.

- For long-running jobs (especially tests), I added the "Cancel previous" workflow. This is very helpful to prevent a large queue backlog when you are doing rapid development and pushing multiple commits. Without this, GitHub Actions' default behavior is to run all actions on all commits.

There are other changes you could make, depending on your project (but I'm not an expert):

- If you have tests that should only run when a subset of code changes, consider gating your workflow to particular file paths. For example, we have some jobs that do Terraform linting, but [they only run when Terraform files are changed](c4f59fee71/.github/workflows/terraform.yml (L3-L11)).

Hopefully these changes are not too controversial and also hopefully you can see how this would reduce actions consumption to be good citizens to fellow Googlers. If you have any questions, feel free to respond here or ping me on chat. Thank you!
2021-03-15 09:42:53 +00:00
Marc Foley
333f9cb269
ci: Check server files for typos (#2937) 2021-01-06 14:56:49 +00:00
Marc Foley
d675aabbff
reenable gfbot (#2944) 2021-01-06 14:45:57 +00:00
Marc Foley
85d730090e
Migrate travis to Github actions (#2935)
* Use gh actions. Restored from #2466

* ci: fix path
2020-12-23 15:05:15 +00:00
Marc Foley
c2ad7a16ef
Revert "Migrate CI to Github Actions (#2466)" (#2478)
This reverts commit 5f3675b809.
2020-06-01 09:18:28 +01:00
Marc Foley
5f3675b809
Migrate CI to Github Actions (#2466)
* Migrate CI to Github Actions

Replaces current Travis setup.

Benefits include:
- Faster
- Multiple families can now be included in a single PR
- PRs can come from forked repos

Fixes #2463

* Restore travis file temporarily
2020-05-29 13:38:40 +01:00