mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-04-28 18:02:38 +02:00
WIP
This commit is contained in:
parent
9d23077a37
commit
4d046989ef
4 changed files with 21 additions and 22 deletions
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
@ -35,7 +35,7 @@ jobs:
|
|||
- name: Install dev. dependencies
|
||||
run: |-
|
||||
apt-get update
|
||||
apt-get install -y git make python3 python3-poetry --no-install-recommends
|
||||
apt-get install -y git make python3 --no-install-recommends
|
||||
poetry install --only lint,test
|
||||
- name: Run linters to enforce code style
|
||||
run: poetry run make lint
|
||||
|
|
4
.github/workflows/scan.yml
vendored
4
.github/workflows/scan.yml
vendored
|
@ -17,9 +17,9 @@ jobs:
|
|||
with:
|
||||
fetch-depth: 0
|
||||
- name: Install container build dependencies
|
||||
run: sudo apt install pipx && pipx install poetry
|
||||
run: sudo apt install pipx && pipx install uv
|
||||
- name: Build container image
|
||||
run: python3 ./install/common/build-image.py --runtime docker --no-save
|
||||
run: uv run ./install/common/build-image.py --runtime docker --no-save
|
||||
- name: Get image tag
|
||||
id: tag
|
||||
run: |
|
||||
|
|
|
@ -50,7 +50,6 @@ package = [
|
|||
"doit",
|
||||
]
|
||||
|
||||
[project.optional-dependencies]
|
||||
# Dependencies required for testing the code.
|
||||
test = [
|
||||
"pytest",
|
||||
|
|
36
uv.lock
36
uv.lock
|
@ -293,17 +293,6 @@ dependencies = [
|
|||
{ name = "requests" },
|
||||
]
|
||||
|
||||
[package.optional-dependencies]
|
||||
test = [
|
||||
{ name = "pytest" },
|
||||
{ name = "pytest-cov" },
|
||||
{ name = "pytest-mock" },
|
||||
{ name = "pytest-qt" },
|
||||
{ name = "pytest-rerunfailures" },
|
||||
{ name = "pytest-subprocess" },
|
||||
{ name = "strip-ansi" },
|
||||
]
|
||||
|
||||
[package.dev-dependencies]
|
||||
container = [
|
||||
{ name = "pymupdf" },
|
||||
|
@ -327,6 +316,15 @@ package = [
|
|||
{ name = "pywin32" },
|
||||
{ name = "setuptools" },
|
||||
]
|
||||
test = [
|
||||
{ name = "pytest" },
|
||||
{ name = "pytest-cov" },
|
||||
{ name = "pytest-mock" },
|
||||
{ name = "pytest-qt" },
|
||||
{ name = "pytest-rerunfailures" },
|
||||
{ name = "pytest-subprocess" },
|
||||
{ name = "strip-ansi" },
|
||||
]
|
||||
|
||||
[package.metadata]
|
||||
requires-dist = [
|
||||
|
@ -337,15 +335,8 @@ requires-dist = [
|
|||
{ name = "packaging" },
|
||||
{ name = "pymupdf", specifier = ">=1.23.3,<1.24.0" },
|
||||
{ name = "pyside6", specifier = ">=6.7.1,<6.8" },
|
||||
{ name = "pytest", marker = "extra == 'test'" },
|
||||
{ name = "pytest-cov", marker = "extra == 'test'" },
|
||||
{ name = "pytest-mock", marker = "extra == 'test'" },
|
||||
{ name = "pytest-qt", marker = "extra == 'test'" },
|
||||
{ name = "pytest-rerunfailures", marker = "extra == 'test'" },
|
||||
{ name = "pytest-subprocess", marker = "extra == 'test'" },
|
||||
{ name = "pyxdg", marker = "sys_platform == 'linux'" },
|
||||
{ name = "requests" },
|
||||
{ name = "strip-ansi", marker = "extra == 'test'" },
|
||||
]
|
||||
|
||||
[package.metadata.requires-dev]
|
||||
|
@ -367,6 +358,15 @@ package = [
|
|||
{ name = "pywin32" },
|
||||
{ name = "setuptools" },
|
||||
]
|
||||
test = [
|
||||
{ name = "pytest" },
|
||||
{ name = "pytest-cov" },
|
||||
{ name = "pytest-mock" },
|
||||
{ name = "pytest-qt" },
|
||||
{ name = "pytest-rerunfailures" },
|
||||
{ name = "pytest-subprocess" },
|
||||
{ name = "strip-ansi" },
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "dmgbuild"
|
||||
|
|
Loading…
Reference in a new issue