Improved logging (#13) #113
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test Build | |
on: | |
push: | |
branches: | |
- '**' | |
tags: | |
- '*' | |
pull_request: | |
paths: | |
- 'src/**' | |
jobs: | |
run_tests: | |
runs-on: ubuntu-latest | |
container: | |
image: python:3.11.6-slim-bookworm | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Update apt and install dependencies | |
run: | | |
apt update | |
pip install -r requirements.txt | |
pip install -r requirements-qa.txt | |
pip install pysigma-backend-splunk | |
- name: Run tests | |
run: | | |
export PYTHONPATH=$PYTHONPATH:./src/. && pytest --open-files --random-order | |