neilnaveen
5f8b0487ab
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: neilnaveen <42328488+neilnaveen@users.noreply.github.com>
3 years ago
mattip
c003c49311
add pypy3 to msys2 CI run
3 years ago
Dylan Baker
7191b6dab2
ci: install pytest-subtests
...
Which lets pytest understand unittest.subtest
3 years ago
Daniel Mensinger
cab77b0e4c
ci: Use GitHub concurrency
4 years ago
Xavier Claessens
7eb4c23156
Split run_unittests.py file
4 years ago
Jon Turney
24135c8c8e
Set MESON_CI_JOBNAME for all CI jobs
...
Set MESON_CI_JOBNAME for all CI jobs which run project tests.
(Note that ${{ github.job }} is the literal job.id used in the yaml, not
any name given to the job with job.id.name, and so is the same for all
matrix entries, and thus not suitable for our purposes there).
4 years ago
Daniel Mensinger
765aff5a42
coverage: Enable coverage reports
4 years ago
Dylan Baker
d4328011cf
ci: run msys2 on run_unittests.py changes
4 years ago
Christoph Reiter
c2f647867e
CI: install glib for the MSYS2 jobs to make pkgconf happy
...
Fixes a test when using pkgconf instead of pkg-config.
The .pc file in the pkgconfig-gen test requires it and pkgconf seems be
stricter here and fails to validate.
4 years ago
Christoph Reiter
9d3aa63681
CI: fix a typo in the msys2 workflow trigger paths
4 years ago
Dylan Baker
71814049a1
workflows: be more conservative about launching msys
...
we don't want to lanuch it if we're only modifying a different workflow
template.
4 years ago
Christoph Reiter
a7edbc6ee5
CI: install pytest pytest-xdist for msys2
4 years ago
Christoph Reiter
f000fa407d
CI: Port MSYS2 from azure-pipelines to github actions
...
This uses the msys2/setup-msys2@v2 to set up MSYS2
4 years ago