Skip to content

Commit 73fbcb7

Browse files
committed
update workflow
1 parent 0406af7 commit 73fbcb7

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.github/workflows/main.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,19 @@ jobs:
1818
uses: actions/setup-python@v4
1919
with:
2020
python-version: "3.9"
21+
cache: 'pip' # caching pip dependencies
2122
- uses: fedora-python/[email protected]
2223
with:
2324
tox_env: flake8
24-
dnf_install: krb5-devel
25+
dnf_install: gcc krb5-devel
2526
- uses: fedora-python/[email protected]
2627
with:
2728
tox_env: safety
28-
dnf_install: krb5-devel
29+
dnf_install: gcc krb5-devel
2930
- uses: fedora-python/[email protected]
3031
with:
3132
tox_env: bandit
32-
dnf_install: krb5-devel
33+
dnf_install: gcc krb5-devel
3334

3435
testing:
3536
runs-on: ubuntu-latest

tox.ini

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ requires = tox >= 4
44
setuptools >= 62.0.0
55

66
[testenv]
7+
install_command = python -I -m pip install --no-deps {opts} {packages}
78
skip_install = True
89
deps = -r{toxinidir}/dev-requirements.txt
910
commands = py.test {posargs}

0 commit comments

Comments
 (0)