Skip to content

Commit dae18e9

Browse files
committed
gh actions - fix: python env
CI badge fixed in readme added django in CI deps
1 parent 8d176bc commit dae18e9

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/python-app.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
- name: Install dependencies
3737
run: |
3838
python -m pip install --upgrade pip
39-
pip install coverage flake8
39+
pip install coverage flake8 django
4040
- name: Lint with flake8
4141
run: |
4242
# stop the build if there are Python syntax errors or undefined names
@@ -46,7 +46,7 @@ jobs:
4646
- name: Test with Django tests
4747
run: |
4848
coverage erase
49-
coverage run python3 ./runtests.py
49+
coverage run runtests.py
5050
coverage report -m
5151
#coverage report --fail-under=99
5252
coverage xml

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Django Audit Wazuh
22
------------------
33

4-
![CI build](https://github.com/peppelinux/django-audit-wazuh/workflows/djangosaml2/badge.svg)
4+
![CI build](https://github.com/peppelinux/django-audit-wazuh/workflows/django-audit-wazuh/badge.svg)
55
![pypi](https://img.shields.io/pypi/v/django-audit-wazuh.svg)
66
![Python version](https://img.shields.io/badge/license-Apache%202-blue.svg)
77
![Django versions](https://img.shields.io/pypi/djversions/django-audit-wazuh)

runtests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python
1+
#!/usr/bin/env python3
22
import os
33
import sys
44

0 commit comments

Comments
 (0)