File tree Expand file tree Collapse file tree 3 files changed +31
-5
lines changed
Expand file tree Collapse file tree 3 files changed +31
-5
lines changed Original file line number Diff line number Diff line change 1+ name : genfond
2+
3+ on : [push]
4+
5+ jobs :
6+ build :
7+
8+ runs-on : ubuntu-latest
9+ strategy :
10+ matrix :
11+ python : ["3.11", "3.13"]
12+
13+ steps :
14+ - uses : actions/checkout@v4
15+ - name : Setup Python
16+ uses : actions/setup-python@v5
17+ with :
18+ python-version : ${{ matrix.python }}
19+ - name : Install system packages
20+ run : sudo apt-get install libgraphviz-dev
21+ - name : Install tox
22+ run : pip install tox poetry
23+ - name : Run tox
24+ # Run tox using the version of Python in `PATH`
25+ run : tox -e py
Original file line number Diff line number Diff line change @@ -45,5 +45,5 @@ profile = "black"
4545line-length = 119
4646
4747[build-system ]
48- requires = [" poetry-core" ]
48+ requires = [" poetry-core>=1.0.0 " ]
4949build-backend = " poetry.core.masonry.api"
Original file line number Diff line number Diff line change 22
33[testenv]
44pass_env = DBUS_SESSION_BUS_ADDRESS
5+ skip_install = true
56allowlist_externals = poetry
67commands_pre =
78 poetry install --no-root --sync
89commands =
9- poetry run pytest tests/ --import-mode importlib
10- poetry run mypy genfond
11- poetry run isort --check genfond tests
12- poetry run black --check genfond tests
10+ pytest tests/ --import-mode importlib
11+ mypy genfond
12+ isort --check genfond tests
13+ black --check genfond tests
You can’t perform that action at this time.
0 commit comments