Skip to content

Commit

Permalink
Merge branch 'master' into dependabot/npm_and_yarn/timesketch/fronten…
Browse files Browse the repository at this point in the history
…d-v3/npm_and_yarn-0189ad7b96
  • Loading branch information
jkppr authored Nov 27, 2024
2 parents 8714eae + 7c1b089 commit 1416095
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,12 @@ jobs:
run: |
pip install pipenv
pipenv install -d
pipenv install -r test_requirements.txt
pipenv run pip install -r test_requirements.txt
- name: Check pytest installation
run: pipenv run pip show pytest
- name: Run unit tests
run: |
pipenv run python run_tests.py
pipenv run python3 run_tests.py
# Frontend tests (VueJS)
VueJS:
Expand Down
5 changes: 1 addition & 4 deletions run_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,7 @@


def run_python_tests():
subprocess.check_call(
"python3 -m pytest timesketch/ api_client/",
shell=True,
)
subprocess.check_call(["python3", "-m", "pytest", "timesketch/", "api_client/"])


def main():
Expand Down

0 comments on commit 1416095

Please sign in to comment.