Commit Graph

91 Commits

Author SHA1 Message Date
Andrew Murray
e2986e1989 Do not upgrade NumPy 2024-03-15 20:41:15 +11:00
Andrew Murray
4ebb4a05b3 Revert "Pin to Python 3.9.16-1"
This reverts commit 139320be3a.
2024-03-14 23:05:06 +11:00
Hugo van Kemenade
481ed446e2 Set "COVERAGE_CORE: sysmon" for faster tests on 3.12+ 2024-02-20 22:40:00 +02:00
Andrew Murray
fe09f0db37
Merge pull request #7776 from hugovk/codecov/codecov-action@v3.1.5
Pin codecov/codecov-action to v3.1.5
2024-02-05 08:55:11 +11:00
Andrew Murray
435c884ebb Removed platform argument from setup-cygwin action 2024-02-03 23:44:33 +11:00
Hugo van Kemenade
dba7dea326 Pin codecov/codecov-action to v3.1.5 2024-02-03 14:43:04 +02:00
renovate[bot]
6dba9c9887
Update github-actions to v4 2024-01-31 21:14:01 +00:00
Andrew Murray
139320be3a Pin to Python 3.9.16-1 2024-01-30 19:44:42 +11:00
renovate[bot]
5dc3de7974
Update actions/cache action to v4 2024-01-20 06:07:48 +00:00
Hugo van Kemenade
85c552934a Goodbye Travis CI 2024-01-04 12:51:05 +02:00
Andrew Murray
28c95013b7 Update actions/upload-artifact action to v4 2023-12-15 14:45:41 +11:00
Hugo van Kemenade
95b0c0b342 Skip non-wheel CI runs for tags 2023-10-15 20:46:25 +03:00
Hugo van Kemenade
44a500af6e Don't run normal tests on changes to wheel-building files 2023-10-02 19:13:02 +03:00
Andrew Murray
bf046dff6e Limit NumPy version on Cygwin 2023-09-20 16:17:47 +10:00
renovate[bot]
5f649a739b
Update actions/checkout action to v4 2023-09-04 21:04:29 +00:00
Andrew Murray
1f3ec1b8c9 Include NumPy version in Cygwin pip cache key 2023-07-14 18:25:26 +10:00
Andrew Murray
053cb3de52 Fixed finding dependencies on Cygwin 2023-05-21 14:38:05 +10:00
renovate[bot]
6ffa189d01
Update cygwin/cygwin-install-action action to v4 2023-04-17 09:16:01 +00:00
Andrew Murray
6acb381656 Simplified NumPy install command 2023-04-15 22:38:07 +10:00
Andrew Murray
73e9482488 Select Python version 2023-04-15 16:47:40 +10:00
Hugo van Kemenade
aa6c0dcc9e
Cygwin doesn't provide any Qt6 packages
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2023-04-08 10:31:47 +03:00
Hugo van Kemenade
59c9d87f8a Remove support for PyQt5 and PySide2, deprecated in 9.2.0 2023-04-06 16:11:36 +03:00
Hugo van Kemenade
cb65bb672b Don't build docs in main tests or trigger main tests for docs-only 2023-03-04 17:04:01 +02:00
Hugo van Kemenade
7e35e15eee Replace subversion with wget package 2023-01-31 10:53:47 +02:00
Hugo van Kemenade
120d56b4ba Sort dependencies 2023-01-31 10:53:47 +02:00
Andrew Murray
d6e7904528 Removed Python 3.7 on Cygwin 2022-12-21 12:47:46 +11:00
renovate[bot]
1a051f2e07
Update egor-tensin/cleanup-path action to v3 2022-12-16 07:50:40 +00:00
renovate[bot]
8e70787cf2
Update cygwin/cygwin-install-action action to v3 2022-12-03 01:44:21 +00:00
Andrew Murray
2c513c6448 Use stdlib for setuptools on Cygwin 2022-11-25 22:05:57 +11:00
Yay295
4c49e2dcdd add "concurrency" to GitHub actions so that old workflows are cancelled in favor of new runs 2022-09-26 07:16:33 -05:00
renovate[bot]
9c8a909e83
Update github-actions 2022-09-24 09:50:14 +00:00
Andrew Murray
e58b1960c3 Set top-level permissions for remaining GitHub Actions 2022-08-26 22:48:12 +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
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
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
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