Merge pull request #1 from certeu/add-first-code #3
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: | |
- '**' # This will match any branch | |
tags: | |
- '*' # This will match any tag | |
jobs: | |
test_build: | |
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 | |