Commit Graph

10 Commits

Author SHA1 Message Date
Pieter De Gendt c3aadf5301 .github: Update supported python versions
Python 3.8 is end-of-life, removed.
Python 3.13 is released, added.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2024-10-15 08:32:53 +02:00
Pieter De Gendt 4d1d8ad4d2 .github: Add testing for 3.11 and latest (currently 3.12)
Verify build for all major.minor versions from 3.8 till latest.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2024-10-03 15:20:31 -07:00
Marc Herbert 8af9e2a370 .github: checkout in a directory with spaces
This is enough to find many quoting issues.

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
2024-08-29 16:16:53 -07:00
Marc Herbert e5fe0ef896 .github: upgrade to checkout@v4 and setup-python@v5
Long overdue; both where still at @v1!

Found by chance in
https://github.com/zephyrproject-rtos/west/actions/runs/9275086435/job/25518959121?pr=711
where all macos-latest configs failed like this:
```
Run actions/setup-python@v1
Error: Version 3.8 with arch x64 not found
Available versions:
  (empty)
```

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
2024-06-14 16:25:56 +02:00
Martí Bolívar 3d3fbf3f70 treewide: make v3.8 the minimum supported Python
Upstream Zephyr has moved to python v3.8 as a minimum version, so it's
OK for west to move too. Make that happen.

Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
2022-08-31 16:06:42 -07:00
Martí Bolívar 925dbe44dd .github: remove py 3.6 from ci matrix
We no longer have access to 3.6 in the system that provides our python
interpreter, so we'll have to do without it in CI.

I think in practice this is going to mean that 3.7 is the lowest
version of Python that west supports, but that's really a Zephyr
decision and I don't feel comfortable make it unilaterally here. So
for now we'll continue to treat failures on 3.6 as bugs, but we won't
test on that platform in CI. That's not ideal and I'll try to do
release testing on 3.6 for as long as I can, as it's the best we've
got.

Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
2021-10-15 15:49:54 -07:00
Martí Bolívar 6104682972 ci: test on 3.9 too
This has been out for a while.

Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
2021-02-10 09:06:29 -08:00
Kumar Gala 3a36e2c51a github: change workflow to not fail-fast
Try and build on all matrix cfg regardless if one of them happens to
fail.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2020-02-05 13:12:23 -08:00
Kumar Gala df68644bce github: Fix workflow to run on differents host (mac, win)
Fix copy/paste issue in which the 'runs-on' was always ubuntu-latest so
we didn't actually do anything with the matrix.os to run on mac or
windows.

Also cleanup some minor formatting and report the sys.platform so we can
verify in the future we are on the correct platform.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2020-02-05 13:12:23 -08:00
Kumar Gala 4fcbf40a6e github: Use a github action for testing
Introduce a github action that will run tox on a number of python
versions and host OSes for testing.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2020-01-27 08:22:47 -08:00