Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
name: Pre-commit checks
uses: beeware/.github/.github/workflows/pre-commit-run.yml@main
with:
pre-commit-source: -r requirements.txt
pre-commit-source: --group dev

unit-tests:
name: Unit tests
Expand All @@ -38,8 +38,11 @@ jobs:
with:
python-version: "3.X"

- name: Update pip
run: python -m pip install -U pip

- name: Install Dependencies
run: python -m pip install -r requirements.txt
run: python -m pip install --group dev

- name: Test with tox
run: tox
Expand Down
12 changes: 12 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[dependency-groups]
test = [
"pytest == 9.0.3",
"toml == 0.10.2",
"flake8 == 7.3.0",
"briefcase @ git+https://github.com/beeware/briefcase.git",
]
dev = [
"tox == 4.54.0",
"pre-commit == 4.6.0",
"black == 26.5.1",
]
4 changes: 4 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Temporary: retained until beeware/.github's app-create-verify.yml
# workflow is updated to read deps from pyproject.toml.
# See beeware/briefcase-template#236.

black == 26.5.1
briefcase @ git+https://github.com/beeware/briefcase.git
flake8 == 7.3.0
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

[testenv]
skip_install = True
deps = -r{toxinidir}/requirements.txt
dependency_groups = test
commands = python -m pytest {posargs:-vv --color yes tests/}
Loading