be7a1d080a
Combine the two workflows so publish can depend on test
2024-08-14 22:49:36 +01:00
abbae361c7
Fix the test path
2024-08-14 22:45:35 +01:00
74cc9aaf20
Update the job names and ids in the GHAs
2024-08-14 19:03:51 +01:00
8e1ccb8e14
Cache the docker builds to hopefully save a lot of time
2024-08-14 18:34:48 +01:00
e130f0c7a6
Skip arm64 as it's not currently needed
2024-08-14 17:36:28 +01:00
442fc906d8
Use docker-container driver for multi-plat builds
2024-08-14 17:30:02 +01:00
2d1b0560f4
Cement both trigger types
2024-08-14 17:27:44 +01:00
b3d5a22b5d
Add support for armv7 in the docker build
2024-08-14 17:20:08 +01:00
2b520cdc17
Remove the temp line for manual runs
2024-08-14 17:19:55 +01:00
4ac4596e18
Remove the now not needed release branch push
Create and publish a Docker image / build-and-push-image (push) Has been cancelled
Test / build (push) Has been cancelled
2024-08-14 16:58:01 +01:00
3a0bf82ecb
Implement building with docker
...
See the README for usages and details.
A breaking changes here too:
* run.py is gone, we now handle that kind of thing with docker
* The token is out of the config and is now an ENVAR (ideally using a .env)
* `.json` files are now in a .matchy/ subdirectory, as this makes it a lot easier for the container to safely read
Bonus:
* fix a score_factors.setdefault call causing issues
* Reformat some of the readme
2024-08-14 16:55:23 +01:00
0beb2128bd
Rewrite bin scripts to python in scripts/ dir
2024-08-13 18:27:53 +01:00
22ad36fb09
Reorganise a little to put scripts in bin
2024-08-11 18:04:21 +01:00
3197c40f88
Fix the python version and cache pip
2024-08-11 10:32:52 +01:00
7622521347
Use the pip requirements.txt in the github runner
2024-08-11 10:31:34 +01:00
183de82091
Add the user config and -X theirs to resolve conflicts
2024-08-10 22:44:49 +01:00
be52d51517
Try ensuring the checkout is not depth=1
2024-08-10 22:42:38 +01:00
fe1c5e1d99
Try adding a git pull
2024-08-10 22:40:38 +01:00
560b733a36
Check out the correct release branch
2024-08-10 22:34:05 +01:00
c049246fe3
Just directly merge main
2024-08-10 22:29:35 +01:00
c49cdffc4f
Try and use github.ref instead
2024-08-10 22:27:06 +01:00
b9e5a2cdfe
Use a release branch for the github action
2024-08-10 22:24:58 +01:00
b6b26b43a4
Rename the testing yml
2024-08-10 22:21:52 +01:00
787da53978
Update pytest.yml to force push the tags
2024-08-10 22:07:44 +01:00
7e8fdaa510
Update pytest.yml to add a tag
2024-08-10 21:52:16 +01:00
b05f0be71f
Add schema to required modules
2024-08-10 16:35:52 +01:00
db90a22efe
Remove pytest timeout
...
This is literally in the documentation??
2024-08-10 16:35:00 +01:00
874a24dd1d
Implement a history-based matching algorythm
...
The bot will attempt to keep producing groups with entirely unique matches based on the full history of matches until it can't. It'll then step forward and ignore a week of history and try again, ignoring more history until no history is left
2024-08-10 15:12:14 +01:00
ca24cb4b93
Rename the Python testing github action
2024-08-09 23:50:53 +01:00
26bda80985
Update pylint.yml with actions/setup-python@v5
2024-08-09 23:50:08 +01:00
eb3cd54df0
Update pylint.yml with pytest
2024-08-09 23:48:32 +01:00
e91493d5b7
Update pylint.yml with --max-line-length 120
2024-08-09 23:47:26 +01:00
85132e2fc2
Use flake8 in pylint.yml
2024-08-09 23:44:43 +01:00
5dba9f6d3e
Update pylint.yml with discord and pytest dependencies
2024-08-09 23:36:48 +01:00
f7b65a6bd4
Set the python version to only 3.11
2024-08-09 23:35:47 +01:00
9f65c879f9
Create pylint.yml Github Action
2024-08-09 23:35:02 +01:00