Commit graph

58 commits

Author SHA1 Message Date
Dan Smith
2cd274dae9 repeaterbook: Move to cached/proxied service
This moves CHIRP to use a proxy for repeaterbook at chirpmyradio.com
to reduce load on the repeaterbook API and improve performance for
our users.

Also, don't run the network tests in CI as they're less important
now and also their failing probably has nothing to do with the patch
being submitted.
2026-03-15 16:46:19 -07:00
Daniel Bast
204f4f7852 chore: Bump gh action versions
Bumps the gh action versions to resolve action deprecation warnings
2024-12-23 07:58:18 -08:00
Dan Smith
75f95c3f1b Run driver tests on python 3.12 2024-04-12 18:10:22 -07:00
Dan Smith
ef783cb14b Drop support for Python <3.10 2024-04-12 18:10:22 -07:00
Dan Smith
6301c58554 Check for new instances of match_model()
This method should not be implemented by new drivers, so fail the
check if it looks like it is present.
2023-11-05 10:58:51 -08:00
Dan Smith
e20d445440 Update check_patch to look for similar drivers 2023-07-04 08:49:10 -07:00
Dan Smith
95b388d0be Fetch full history for check-patch test
Also clean up the reporting for locale files needing update.
2023-06-14 18:22:34 -07:00
Dan Smith
ed829f5b4b Check patches to see if locale files need update
This makes msgmerge use sorted output to make the files stable.
2023-03-06 18:15:14 -08:00
Dan Smith
4d106c6238 Run fast-driver for CI 2023-01-28 08:51:26 -08:00
Dan Smith
0b6def9281 Stop running duplicate tests on push
I don't push direct to the main branches, and having this enabled
doubles the number of tests that run on my PRs. So just reduce this
to PRs only.
2023-01-19 15:35:17 -08:00
Dan Smith
c83d09343c Fix check-patch CRLF detection 2023-01-15 21:33:37 -08:00
Dan Smith
2c125a1ba5 Make check_commit detect CRLF files 2023-01-15 21:10:17 -08:00
Dan Smith
3641406a9b Add check_commit.sh and github action
This enforces some commit requirements, such as not adding new code
that relies on py2 compatibility.
2022-12-31 11:01:11 -08:00
Dan Smith
6964f1a0cc Drop py2 tox targets 2022-12-28 08:32:01 -08:00
Dan Smith
ef83fabca7 Remove py2 github action stuff 2022-12-27 12:42:42 -08:00
Dan Smith
fc107bb8d0 Merge branch 'master' into py3-merge 2022-11-17 19:05:17 -08:00
Dan Smith
0ae1d346d1 Update py3 test runtime
Move everything to Jammy 22.04, but keep a driver job on 20.04 to
make sure we don't regress. 20.04 is the last release where it is
feasible to work on both master and py3, so we should try to avoid
breaking support there for the interim.
2022-11-17 16:18:10 -08:00
Dan Smith
06c2a7e477 Run py2 tests on Focal
Github just switched ubuntu-latest to jammy, so make sure these
run on focal.
2022-11-17 16:02:26 -08:00
Dan Smith
d9389c12b4 Don't fail to create PR if merge commit fails
If we fail to run makesupported, we will not touch anything, but
return nonzero, which will try to git commit, which will fail because
nothing is changed. Just ignore that and push the PR anyway so we have
something to work from.
2022-11-17 16:02:26 -08:00
Dan Smith
e51128724e py3-pr needs to push *after* matrix commit 2022-11-17 16:02:26 -08:00
Dan Smith
b5a17c708a py3-pr Needs file to commit 2022-11-17 16:02:26 -08:00
Dan Smith
c1e6c5ea96 Update py3-pr to have tox for makesupported 2022-11-17 16:02:26 -08:00
Dan Smith
05c223bd42 Make the auto-sync PR update support matrix 2022-11-17 16:02:26 -08:00
Dan Smith
2d2629a387 Run py2 tests on Focal
Github just switched ubuntu-latest to jammy, so make sure these
run on focal.
2022-11-17 15:37:49 -08:00
Dan Smith
44166380d2 Don't fail to create PR if merge commit fails
If we fail to run makesupported, we will not touch anything, but
return nonzero, which will try to git commit, which will fail because
nothing is changed. Just ignore that and push the PR anyway so we have
something to work from.
2022-11-08 18:49:24 -08:00
Dan Smith
f3d651ed7a py3-pr needs to push *after* matrix commit 2022-11-08 18:49:24 -08:00
Dan Smith
57a7e88edc py3-pr Needs file to commit 2022-11-08 18:49:24 -08:00
Dan Smith
5ace29a545 Update py3-pr to have tox for makesupported 2022-11-08 18:49:24 -08:00
Dan Smith
d13d94dd00 Make the auto-sync PR update support matrix 2022-11-08 18:49:24 -08:00
Dan Smith
ade8436ab0 Don't fail to create PR if merge commit fails
If we fail to run makesupported, we will not touch anything, but
return nonzero, which will try to git commit, which will fail because
nothing is changed. Just ignore that and push the PR anyway so we have
something to work from.
2022-11-08 17:34:10 -08:00
Dan Smith
c5b7540cbe py3-pr needs to push *after* matrix commit 2022-11-06 18:16:33 -08:00
Dan Smith
adf158e0b8 py3-pr Needs file to commit 2022-11-06 18:16:33 -08:00
Dan Smith
d845e6be93 Update py3-pr to have tox for makesupported 2022-11-06 18:16:33 -08:00
Dan Smith
901596d855 Make the auto-sync PR update support matrix 2022-11-06 18:16:33 -08:00
Dan Smith
2107dd110c py3-pr needs to push *after* matrix commit 2022-10-24 17:40:41 -07:00
Dan Smith
a354c59512 py3-pr Needs file to commit 2022-10-24 17:40:41 -07:00
Dan Smith
e39e1aac2c Update py3-pr to have tox for makesupported 2022-10-24 17:40:41 -07:00
Dan Smith
b652d585ac Make the auto-sync PR update support matrix 2022-10-24 17:40:41 -07:00
Dan Smith
867b48a86c py3-pr needs to push *after* matrix commit 2022-10-24 17:31:04 -07:00
Dan Smith
a4e611d00e py3-pr Needs file to commit 2022-10-24 17:26:59 -07:00
Dan Smith
097150a3e5 Update py3-pr to have tox for makesupported 2022-10-24 17:20:21 -07:00
Dan Smith
3b7d0afef0 Make the auto-sync PR update support matrix 2022-10-24 17:15:58 -07:00
Dan Smith
22527b57c2 Add a py310 job
I noticed some different behavior on Python 3.10 Darwin, so we might
need a 3.10 test as well.
2022-10-18 15:24:36 -07:00
Dan Smith
512d897fa5 Fix make_supported.py to work on py3
This will let us generate the usual list of supported drivers and
features on python3 to keep track of the difference. Note this
had to fix a dict keys bug in th_uvf8d.py in order to work.
2022-09-16 17:47:52 -07:00
Dan Smith
a2cfa832b3 Make py2 tests only run on master
This should be in the master branch too.
2022-09-16 17:47:31 -07:00
Dan Smith
ca6c33153d Parity in py3 tests for recent split on master 2022-09-16 17:20:11 -07:00
Merge Bot
f8985484c5 Merge commit '83a70ea2a2' into py3-sync
# Conflicts:
#	tox.ini
2022-09-16 17:08:21 -07:00
Dan Smith
50e48ee242 Make the py3 PR sync use a dedicated token
This is needed to makes sure that actions run.
2022-09-16 16:52:55 -07:00
Dan Smith
70e168abba Split workflows into tox targets for clarity
This also moves test.yaml to py2-test.yaml for parity with the
py3 branch, and adds a target for generating the model support
matrix, which we should also be doing.
2022-09-16 16:52:54 -07:00
Dan Smith
d5837931b1 Rename py3 test workflow to avoid conflicts
Since master uses test.yaml, we should use a different file so we
do not generate conflicts from master merges.
2022-09-15 17:39:50 -07:00