Skip to content

Check for deception_adherence attack #127

Check for deception_adherence attack

Check for deception_adherence attack #127

Workflow file for this run

name: CI Pipeline
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "**" ]
workflow_dispatch:
jobs:
build-and-test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.9', '3.10', '3.11']
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- 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 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