Commit Graph

123 Commits

Author SHA1 Message Date
Alexandre Poumaroux
5d699b9ebf Commercial fixes, CI tests, more tests, coverage (#883)
* Add authentication flags for list-qt-commercial, add tests for coverage

* Add dry run

* Make tests really use auth since secrets have been added, fix some indents

* Fix auth issue, rename user 'email, and password 'pw'

* Fix modules param type

* Update commands names
2025-02-22 09:56:56 +09:00
Hiroshi Miura
1f1d9562c9 chore: give pr permission for reviewdog (#862)
* chore: give pr permission for reviewdog

- Run linter the PR is against master branch
- Run linter when pull-request triggered
- Allow review dog to put review comment on PR

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* chore: wip

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* chore: github actions jobs permissions

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* chore: ci: drop pylint from linter action

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

---------

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2024-12-19 14:54:19 +09:00
Hiroshi Miura
82385435c4 chore: drop lfs configuration
Some checks are pending
Check tox tests, lint and types / Check packaging 📦 (push) Waiting to run
CodeQL / Analyze (python) (push) Waiting to run
Publish Python 🐍 distributions 📦 to PyPI / Build and publish Python 🐍 distributions 📦 to PyPI (push) Waiting to run
Test on GH actions environment / test (binary, windows-latest, 3.12, 6.6.3) (push) Waiting to run
Test on GH actions environment / test (standard, ubuntu-latest, 3.12, 6.5.3) (push) Waiting to run
Test on GH actions environment / test (standard, ubuntu-latest, 3.12, 6.6.3) (push) Waiting to run
Test on GH actions environment / test (standard, ubuntu-latest, 3.12, 6.8.0) (push) Waiting to run
Test on GH actions environment / test (standard, ubuntu-latest, 3.12, 6.8.1) (push) Waiting to run
Test on GH actions environment / test (standard, windows-latest, 3.12, 6.5.3) (push) Waiting to run
Test on GH actions environment / test (standard, windows-latest, 3.12, 6.6.3) (push) Waiting to run
Test on GH actions environment / test (standard, windows-latest, 3.12, 6.7.3) (push) Waiting to run
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2024-12-19 12:29:49 +09:00
Hiroshi Miura
7cb9dbc4b3 chore: add pylint configration on pyproject.toml
and drop CI check with pylint

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2024-12-19 09:42:00 +09:00
Hiroshi Miura
de441a1ce8 chore: CI: steup-java only when master branch
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2024-12-19 08:18:54 +09:00
tsteven4
7062c1ee75 restrict coverage reports to master branch 2024-12-18 07:55:21 -07:00
Hiroshi Miura
fa497729dd chore/ci: setup reviewdog (#835)
Some checks failed
Check tox tests, lint and types / Check packaging 📦 (push) Waiting to run
CodeQL / Analyze (python) (push) Waiting to run
Publish Python 🐍 distributions 📦 to PyPI / Build and publish Python 🐍 distributions 📦 to PyPI (push) Waiting to run
Test on GH actions environment / test (binary, windows-latest, 3.12, 6.6.3) (push) Has been cancelled
Test on GH actions environment / test (standard, ubuntu-latest, 3.12, 6.5.3) (push) Has been cancelled
Test on GH actions environment / test (standard, ubuntu-latest, 3.12, 6.6.3) (push) Has been cancelled
Test on GH actions environment / test (standard, ubuntu-latest, 3.12, 6.8.0) (push) Has been cancelled
Test on GH actions environment / test (standard, ubuntu-latest, 3.12, 6.8.1) (push) Has been cancelled
Test on GH actions environment / test (standard, windows-latest, 3.12, 6.5.3) (push) Has been cancelled
Test on GH actions environment / test (standard, windows-latest, 3.12, 6.6.3) (push) Has been cancelled
Test on GH actions environment / test (standard, windows-latest, 3.12, 6.7.3) (push) Has been cancelled
* chore/ci: setup reviewdog

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* chore/ci: apply reviewdog to mypy and check

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* chore/ci: set REVIEWDOG_GITHUB_API_TOKEN

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* chore/ci: use --fail-level=error for reviewdog

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* chore/ci: update tox config

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* chore: update lint checks with reviewdog

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* chore: checkout with lfs

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* chore: fix missing file

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* chore: remove unused token

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* chore: install linter

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

---------

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2024-12-17 21:46:25 +09:00
Hiroshi Miura
7a127281f2 Merge pull request #855 from xavier2k6/aqt_codeql_bump
Some checks are pending
Check tox tests, lint and types / Check packaging 📦 (push) Waiting to run
CodeQL / Analyze (python) (push) Waiting to run
Publish Python 🐍 distributions 📦 to PyPI / Build and publish Python 🐍 distributions 📦 to PyPI (push) Waiting to run
Test on GH actions environment / test (standard, ubuntu-latest, 3.12, 6.5.3) (push) Waiting to run
Test on GH actions environment / test (standard, ubuntu-latest, 3.12, 6.6.3) (push) Waiting to run
Test on GH actions environment / test (standard, ubuntu-latest, 3.12, 6.8.0) (push) Waiting to run
Test on GH actions environment / test (standard, ubuntu-latest, 3.12, 6.8.1) (push) Waiting to run
Test on GH actions environment / test (standard, windows-latest, 3.12, 6.5.3) (push) Waiting to run
Test on GH actions environment / test (standard, windows-latest, 3.12, 6.6.3) (push) Waiting to run
Test on GH actions environment / test (standard, windows-latest, 3.12, 6.7.3) (push) Waiting to run
Test on GH actions environment / test (binary, windows-latest, 3.12, 6.6.3) (push) Waiting to run
Update codeql-analysis workflow
2024-12-17 12:25:40 +09:00
Hiroshi Miura
f4cb3b8ec4 chore: drop unused wiki creation GitHub actions workflow
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2024-12-17 11:28:30 +09:00
Hiroshi Miura
9f495dbb9f Chore: send coverage data to codacy and put badge on readme (#856)
* chore: send coverage to codacy service

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* docs: add codacy badge

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* chore: track jar file in LFS

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* chore: add codacy utility in ci/ folder

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* chore: use bundled ci/codacy-coverage-reporter-assembly.jar

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* chore: ci: checkout with lfs support

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

---------

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2024-12-17 11:18:20 +09:00
xavier2k6
ec33b92678 Update codeql-analysis workflow 2024-12-16 22:04:49 +00:00
tsteven4
1b2a9b2715 try to fix type test again, add 6.8.1 test 2024-11-30 16:33:46 -07:00
Hiroshi Miura
da23f09df9 Merge branch 'master' into topic/miurahr/drop-old-syntax 2024-10-06 11:52:57 +09:00
Hiroshi Miura
bdf8b4b1f9 chore(ci): bump target qt versions: 6.5.x, 6.6.x, 6.7.x and 6.8.0 (#822)
* chore(ci): bump target qt versions

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* chore(ci): use install-qt subcommand

- Drop backward compat check

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* chore(ci): wip

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* chore(ci): wip

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* chore(ci): fix qmake query checks

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* chore(ci): fix mingw targets

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* chore(ci): add target 6.8.0 and drop use of python3.9

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* chore(ci): add expectation for Qt 6.8

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* chore(ci): drop tox test from install-qt check

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* chore(ci): fix expectation for windows/android qt 6.6

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* chore(ci):  wip

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* chore(ci):  wip

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* chore(ci): add taget Qt 6.7.3

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* chore(ci): bump actions/setup-python@v5

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* chore(ci): azure-pipelines: drop test target Qt5

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* chore(ci): azure-pipelines: update triggers

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* chore(ci): azure-pipelines: disable Linux_ARM64

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* chore(ci): azure-pipelines: replace list with list-qt

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* chore(ci): azure-pipelines: no build check if list-qt

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

---------

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2024-10-06 08:40:49 +09:00
Hiroshi Miura
8566a89f94 chore(ci): drop python2 check
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2024-09-29 11:26:27 +09:00
Hiroshi Miura
a90d93b02f chore(ci): use install-qt subcommand
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2024-09-29 11:25:46 +09:00
Hiroshi Miura
b942aab190 chore(ci): bump artifact-upload@v4
and fix azure-pipelines job name

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2024-09-29 10:56:21 +09:00
Hiroshi Miura
d0260e035a fix: delete combination check
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2024-08-04 16:12:19 +09:00
Hiroshi Miura
6b03ae4613 chore: fix bug report form syntax error
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2024-05-07 12:53:12 +09:00
Hiroshi Miura
2cd1383e93 chore: update bug report/document error report/feature request form template (#789)
* chore: use form for bug report template

- Request mandatory information in forms.
- Add checkbox to select OS
- Add checkbox to request CoC
- other templates: comment out descriptions

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* chore: use form for document and feature request template

- Request mandatory information in forms.
- Add checkbox to request CoC

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

---------

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2024-05-07 12:50:55 +09:00
Hiroshi Miura
27c351fa59 Revert "chore: use form for bug report template (#788)"
This reverts commit 47b25254fc.
2024-05-07 08:32:38 +09:00
Hiroshi Miura
47b25254fc chore: use form for bug report template (#788)
- Request mandatory information in forms.
- Add checkbox to select OS
- Add checkbox to request CoC
- other templates: comment out descriptions

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2024-05-07 08:26:35 +09:00
Hiroshi Miura
63dcb8731a chore: update release binary build
- Bump python@3.12
- use macos-13 from macos-latest

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2024-05-04 14:41:58 +09:00
Hiroshi Miura
79a991146c Revert "chore: update release binary build"
This reverts commit 930eb2b598.
2024-05-04 14:40:38 +09:00
Hiroshi Miura
930eb2b598 chore: update release binary build
- Bump python@3.12
- use macos-13 from macos-latest

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2024-04-28 01:18:15 +09:00
Andrew Wason
452c85cd64 Fix workflows failing when fetching tags 2024-03-05 09:55:18 -05:00
Hiroshi Miura
447cce1429 chore: update CI execution trigger/schedule (#735)
* chore: update CI execution trigger/schedule

- Full tests weekly on master
- Change trigger for GitHub actions

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* chore: suppress azure-pipelines on pr/push

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

---------

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2023-11-14 23:06:18 +09:00
Steveice10
e4664705c8 Add macOS builds to release artifacts. 2023-11-02 20:10:16 -07:00
Dave Dalcino
5fe119e093 Run on pull request 2023-09-17 08:53:08 -07:00
Dave Dalcino
16317321b2 Fix OS check 2023-09-17 08:44:18 -07:00
Dave Dalcino
ac6375301f add debug statement for qt6 2023-09-17 08:36:53 -07:00
David Dalcino
a3fe237a19 Use python 3.8 instead of 3.9 (covered in Azure pipeline) 2023-09-17 07:45:43 -07:00
David Dalcino
bb6ab09938 Add python 3.9 & 3.11 to test-install-qt.yml 2023-09-17 07:36:43 -07:00
Dave Dalcino
a998d4368b Pin checkout at v3 in all workflows
This fixes some CI warnings about using obsolete versions of NodeJS.
NodeJS 12 (from checkout@2) is at EOL, and CI warnings recommend using
NodeJS 16. The docs for actions/checkout recommend pinning at v3.

Some of these workflows were using `checkout@master`, and were thereby
already using NodeJS 16. I'm not sure that it's necessary to use v3
for these instead of master. However, the docs suggest using v3.
If at some point the authors decide to rename the `master` branch to
`main`, then we may be glad we made this change.
2023-02-11 11:31:23 -08:00
Hiroshi Miura
a5bc8a688f Github Actions: Update CI condition
- check mypy and lint tool on python 3.9
- Install check on python 3.10
- Publish to pypi on python 3.10
- Tox test on python 3.8, 3.10, 3.11

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2022-11-20 15:20:27 +09:00
Hiroshi Miura
37c4f70665 Standalone binary built with PyInstaller
- Call PyInstaller directly from builder script
  - Drop depenency to gravitybee
- Change artifact path `dist/` on ci, test and upload scripts
- Move standalone builder python script in `tools`
  - Also add pseudo launcher script in `tools` for PyInstaller
- Actions: Update binary build and release scripts
  - Binary is built on venv that is removed after built
  - Support not only Windows but also linux/mac
  - Built on powershell on Windows, bash on others
- Clean up duplicated configurations on setup.cfg
  - Leaves `entry_points` and `package_data` options

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2022-10-29 12:04:09 +09:00
Hiroshi Miura
dd42ce194e Update issue templates
- Add document issue template
- Automatically set corresponding labels
2022-10-15 14:48:39 +09:00
Hiroshi Miura
e322912679 Actions: Fix publish pypi
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2022-09-30 11:49:26 +09:00
Hiroshi Miura
ef1f6ec65a Actions: fix upload artifact script
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2022-09-30 11:18:08 +09:00
Hiroshi Miura
cadaac9f8d Actions: fix pypa/pypi-publish@release/v1
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2022-09-30 09:37:41 +09:00
Hiroshi Miura
bc76ee5bac Actions: bump versions
- actions/setup-python@v4
- Use pypa/gh-action-pypi-publish@v1
  this fix a warning:
  You are using "pypa/gh-action-pypi-publish@master".
  The "master" branch of this project has been sunset
  and will not receive any updates, not even security
  bug fixes.

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2022-09-30 09:32:20 +09:00
Hiroshi Miura
d3c24d8387 CI: bump target python version to 3.9 (#575)
* CI: bump target python version to 3.9

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2022-09-30 08:35:06 +09:00
Hiroshi Miura
b625d73f50 CI: Fix check-combinations
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2022-09-19 22:51:38 +09:00
Hiroshi Miura
73d0a16cca Update standalone binary build scripts (#565)
- Introduce build_standalone.py
- CI: update standalone build method
- Genearte pseudo script to trick pyppyn satisfy
- Generate setup.py to trick pyppyn satisfy

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2022-09-19 22:40:14 +09:00
David Dalcino
46387cc532 Use codeql-action v2
v1 of this action will be deprecated in December 2022.
2022-08-20 10:14:07 -07:00
Hiroshi Miura
ec08c15d2d Actions: Fix typo
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2022-06-10 00:40:10 +09:00
Hiroshi Miura
19ce09f2b9 Actions: update trigger condition
- Avoid duplicated run
- Remove schedule run for codeql
- Drop stale

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2022-06-05 11:16:39 +09:00
Hiroshi Miura
ce2434536f Actions: check package script to use ubuntu 20.04
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2022-06-05 10:57:41 +09:00
David Dalcino
6e1de8fe63 Fix issue template redundancy
This removes the redundant request to print the result of `python -VV`. It also fixes the requested `aqt version` request.

Relevant to discussion in #475
2022-01-11 17:37:20 -08:00
lebarsfa
af53db63d6 Add 32 bit binary to release 2021-12-29 04:32:56 +01:00