-
Notifications
You must be signed in to change notification settings - Fork 457
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into qt-framework
- Loading branch information
Showing
512 changed files
with
18,663 additions
and
6,823 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
name: TICS | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
# to easy test changes to the workflow | ||
- tiobe | ||
|
||
jobs: | ||
CI: | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Install dependencies | ||
run: | | ||
echo "::group::apt-get update" | ||
sudo apt-get update | ||
echo "::endgroup::" | ||
echo "::group::apt-get install..." | ||
sudo apt-get install -y python3 python3-dev libapt-pkg-dev libyaml-dev xdelta3 patchelf | ||
echo "::endgroup::" | ||
echo "::group::pip install" | ||
python -m pip install 'tox<5.0' tox-gh | ||
echo "::endgroup::" | ||
- name: Setup Tox environment | ||
run: tox run-parallel --parallel auto --parallel-no-spinner --parallel-live --colored yes -e test-all-py310 --notest | ||
|
||
- name: Test with tox | ||
run: tox run --skip-pkg-install --result-json results/tox-py310.json --colored yes -e test-all-py310 | ||
|
||
- name: Run TICS analysis | ||
uses: tiobe/tics-github-action@v3 | ||
with: | ||
mode: qserver | ||
project: snapcraft | ||
viewerUrl: https://canonical.tiobe.com/tiobeweb/TICS/api/cfg?name=default | ||
branchdir: ${{ github.workspace }} | ||
ticsAuthToken: ${{ secrets.TICSAUTHTOKEN }} | ||
installTics: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# NOTE: these disables are only necessary while the core24 spread tests are | ||
# being fixed; they refer to unreachable code, unused variable, etc. | ||
# This file must be removed once all tests in tests/spread/core24/ are fixed. | ||
disable=SC2317,SC2034,SC2154 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
Oops, something went wrong.