Commit Graph

397 Commits

Author SHA1 Message Date
Andrew Murray
ef7e1ee49e
Merge pull request #6612 from radarhere/makedoc
Ensure dependencies are installed when building docs
2022-09-25 09:00:49 +10:00
Andrew Murray
c043f972d0 Merge branch 'main' into makedoc 2022-09-24 19:51:36 +10:00
renovate[bot]
9c8a909e83
Update github-actions 2022-09-24 09:50:14 +00:00
Hugo van Kemenade
53b6e5f4bf
Merge pull request #6281 from radarhere/codecov 2022-09-24 12:48:26 +03:00
Andrew Murray
de75af385c Replaced Codecov bash uploader with GitHub Action 2022-09-24 11:33:16 +10:00
Andrew Murray
652e33842b Ensure dependencies are installed when building docs 2022-09-23 21:45:36 +10:00
Andrew Murray
04e1b9b121 Updated Ghostscript to 10.0.0 2022-09-23 07:34:58 +10:00
Andrew Murray
c2007e7558 Merge branch 'main' into codecov 2022-08-27 15:51:16 +10:00
Andrew Murray
2d21bc06f3
Replaced Codecov bash uploader with GitHub Action 2022-08-27 12:17:40 +10:00
Andrew Murray
e58b1960c3 Set top-level permissions for remaining GitHub Actions 2022-08-26 22:48:12 +10:00
Andrew Murray
ac83011fbf NumPy now supports Python 3.11 2022-08-26 18:09:18 +10:00
Andrew Murray
55d94558fb Do not install test-image-results on GitHub Actions 2022-08-13 23:14:32 +10:00
Andrew Murray
8464ed423b Updated Valgrind job to Jammy 2022-08-02 08:03:52 +10:00
neilnaveen
43b185e1c1 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>
2022-07-04 01:19:58 +00:00
Hugo van Kemenade
31b98bb3ba
Merge pull request #6222 from radarhere/python3
Use python3
2022-06-10 19:02:13 +03:00
Andrew Murray
69e07c2bf9 Upgrade non-amd64 Ubuntu jobs to Jammy 2022-05-18 10:11:52 +10:00
Hugo van Kemenade
c4325c805e
Merge pull request #5878 from DWesl/add-cygwin-to-ci 2022-05-12 14:23:04 +03:00
DWesl
30db27c3aa
CI: Only invoke bash once for build step.
Let's see if this works.

Co-authored-by: Ondrej Baranovič <nulano@nulano.eu>
2022-05-11 08:01:02 -04:00
Andrew Murray
1dff85a7ee Added Fedora 36 2022-05-10 20:57:36 +10:00
Andrew Murray
035e95551d Use build.sh 2022-05-08 21:38:28 +10:00
Andrew Murray
c6cdd4dd52 Adjust formatting 2022-05-07 23:13:41 +10:00
Andrew Murray
dc4906c865 Updated codecov action to v3 2022-05-07 22:50:30 +10:00
DWesl
c5356010ff
Merge pull request #8 from radarhere/add-cygwin-to-ci
Removed steps that are currently unnecessary.  Hopefully they stay that way.
2022-05-07 07:46:41 -04:00
DWesl
7c97d84576
CI: Stop testing numpy imports
Install seems to be working now.

Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2022-05-07 07:42:40 -04:00
Andrew Murray
a5b20f7a34 Removed setting alternative 2022-05-07 15:29:49 +10:00
Andrew Murray
eee481176d Removed DLL rebase 2022-05-07 14:52:28 +10:00
DWesl
b670df828d
STY: Fix English in .github/workflows/test-cygwin.yml
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2022-05-06 22:43:03 -04:00
DWesl
2067f60409 STY: Commit suggestions from PR review. 2022-05-05 15:21:22 -04:00
DWesl
941ff61f17
CI: Drop 32-bit Cygwin from regular testing
Cygwin recommends using 64-bit if at all possible, and will discontinue support entirely within the next year or so.  

This also reduces CI load, which I suppose is polite to those who provide it at no cost.
2022-05-04 09:23:24 -04:00
DWesl
0b134250fa
CI: Use alternatives to select python version (#4)
* CI: Use alternatives to select python version

* CI: Specify full path to alternatives

/usr/sbin isn't in PATH

* DBG: Print uname to try to avoid bad pip install.

pip>=22 on 32-bit Cygwin seems to cause problems installing coverage.  I have no idea why this is, so I just skip upgrading pip there.

* FIX: Fix syntax of conditional for 32-bit Cygwin

I have no idea if it needs to be able to accept i386, but it will if it comes up.

* FIX: Revert earlier debug change.
2022-05-02 20:38:12 -04:00
DWesl
ce7489884f
CI: Update Cygwin pip, but not on 32-bit
* CI: Update Cygwin pip, but not on 32-bit

32-bit Cygwin pip>=22 fails to install coverage.

* CI: Let .ci/install.sh handle updating pip

* CI Combine pip update conditions

* CI: Don't try to upgrade pip on 32-bit Cygwin
2022-05-02 17:54:49 -04:00
DWesl
143e57b6cd
CI: Specify python minor version everywhere on Cygwin
Finish the last few of these.  It's usually unnecessary, but I ran into trouble once with NumPy, and will likely run into more problems if I start submitting packages.

A different option would be to use alternatives to point python3 at the right python.
2022-04-29 20:40:57 -04:00
DWesl
08e0d0b817
CI: Use bash for rebase step
Hopefully this makes sure rebase finds all of pillow's C extension modules so rebase failures are less likely.
2022-04-29 13:15:04 -04:00
DWesl
88c406eac9
CI: Stop using login shell for build step 2022-04-29 12:57:52 -04:00
DWesl
e0f4c21d01
CI: Remind bash to ignore CR in workflow 2022-04-29 12:36:05 -04:00
DWesl
41976ae125
FIX: Fix syntax for shell call 2022-04-29 11:34:13 -04:00
DWesl
ed0c37d528
CI: Don't use shell for build information 2022-04-29 11:27:01 -04:00
DWesl
91e6457360
CI: Stop using login shell for build info
I should probably avoid login shells in any step that uses a relative path.
2022-04-29 10:53:19 -04:00
DWesl
afa3cea96a
Merge branch 'main' into add-cygwin-to-ci 2022-04-29 10:43:30 -04:00
DWesl
fdbab82f9e
CI: Use dash to check system-info.py
This may be a problem with using a login shell (starts in ~) rather than with using bash over dash.  We'll see in a bit.
2022-04-29 09:54:23 -04:00
Hugo van Kemenade
b4dab3aca3 Test Python 3.11-dev 2022-04-28 23:15:38 +03:00
Andrew Murray
853a95d56b
Merge branch 'main' into add-cygwin-to-ci 2022-04-25 11:00:09 +10:00
DWesl
9fb79513a2 FIX, CI: Change shell to stay in repository. 2022-04-23 08:51:09 -04:00
DWesl
46c1f9389e CI: Update pip before installing dependencies.
Avoid pip warnings.
2022-04-23 08:33:13 -04:00
DWesl
1674e425a7 CI: Sort the Cygwin requirements. 2022-04-23 08:33:13 -04:00
DWesl
7605e46011 CI: Set shell for Cygwin CI steps
Allows me to avoid .ci/build_cygwin.sh
2022-04-23 08:31:51 -04:00
Andrew Murray
dd7cbdec95
Merge pull request #6233 from python-pillow/pipfile
Run Tidelift Align on Pipfile changes
2022-04-23 06:44:54 +10:00
DWesl
805e8f10ba
CI: Try to fix Cygwin pip cache 2022-04-22 08:25:46 -04:00
Andrew Murray
a7438ecaf0 Added Ubuntu 22.04 to Docker jobs 2022-04-22 17:35:20 +10:00
DWesl
c1d3bac917
CI: Fix runner username for pip cache 2022-04-21 10:26:12 -04:00