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
Merge Bot
fb0b4cf3e8
Merge commit ' bc9dbbc531' into py3-sync
2022-09-16 00:27:12 +00:00
Dan Smith
58f329e22b
Fix source_branch on py3 auto PR
2022-09-15 17:17:03 -07:00
Dan Smith
c0ed6b0e4a
Workflow to create PRs against py3
...
Hopefully this will make it easier to keep py3 in sync with
master.
2022-09-15 15:22:52 -07:00
Dan Smith
81d5b643aa
Add a test on master to merge/test on py3
2022-09-10 09:21:50 -07:00
Dan Smith
9d2dd6730f
Run tests in github workflow for py3
2022-09-09 08:23:32 -07:00
goldstar611
3f765f923d
[Github Workflows] Update package list ( #20 )
...
Calling `apt-get update` should fix error in the last workflow run at https://github.com/kk7ds/chirp/runs/5668735664?check_suite_focus=true#step:3:46
2022-04-01 06:31:52 -07:00
Tom Hayward
1d6d06474e
use tox
2021-08-22 17:08:17 -07:00