Commit Graph

27 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
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
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
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
Andrew Wason
452c85cd64 Fix workflows failing when fetching tags 2024-03-05 09:55:18 -05: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
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
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
f4d9a3f053 fix failing coverage upload
Recently, every "Upload Coverage" step fails for me. This should fix it.
2021-11-05 16:40:38 -07:00
David Dalcino
8b1f0a4b0c Add check for python 2 in ci 2021-08-19 11:11:48 -07:00
Hiroshi Miura
f7a8bc80eb Add coverage test
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2021-07-15 09:00:19 +09:00
Hiroshi Miura
ff54d92c01 Bump actions/setup-python@v2
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2021-05-24 08:32:20 +09:00
Hiroshi Miura
3864fb4a09 Revert "Run tox using Python 3.6 and 3.8"
This reverts commit 25d63bf413.
2021-05-24 08:10:38 +09:00
Hiroshi Miura
fc3410e7a0 Revert "Attempt to get tox to run in GH Actions"
This reverts commit d16c9e1bcf.
2021-05-24 08:08:37 +09:00
David Dalcino
f61005c7c2 Trigger tox on PR
This causes the `tox` check to run on both push and pull request events.

Thank you @pzhlkj6612!
2021-05-13 09:29:06 -07:00
David Dalcino
25d63bf413 Run tox using Python 3.6 and 3.8
This copies more of the code at docs.github.com, with the intention of
running tox using multiple versions of Python. This project is meant
to support Python 3.6 at minimum, so it is worth testing that version
in CI.

See: https://docs.github.com/en/actions/guides/building-and-testing-python#running-tests-with-tox
2021-05-13 00:23:51 -07:00
David Dalcino
d16c9e1bcf Attempt to get tox to run in GH Actions
This duplicates the directions for running tox in docs.github.com
2021-05-13 00:09:20 -07:00
Hiroshi Miura
e9b9df0aa6 Github actions: fix check script
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2021-04-02 12:27:52 +09:00
Hiroshi Miura
f8f50a4a38 Check with black
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2021-04-02 12:23:34 +09:00
Hiroshi Miura
d841741641 Reformat by black
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2021-04-02 12:20:10 +09:00