Skip to content

Merge pull request #34 from prompt-security/readme_v2 #91

Merge pull request #34 from prompt-security/readme_v2

Merge pull request #34 from prompt-security/readme_v2 #91

Workflow file for this run

name: CI Pipeline
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "**" ]
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e ".[dev]" # Install package in editable mode with dev dependencies
- name: Run tests
run: |
pytest
build-package:
needs: build-and-test
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Build package using script
run: |
chmod +x ./build_package.sh
./build_package.sh