Don't run FFI test on ubuntu and run workflow on push #13
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: Smoke Test for FFI | |
on: [push] | |
jobs: | |
test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
# macos-14 is ARM-based | |
# macos-14-large is x86-based | |
os: [windows-latest, macos-14, macos-14-large] | |
continue-on-error: true # Allows all jobs to run even if one fails | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.12 | |
- name: Display system info | |
run: | | |
python -c "import platform; print(f'Machine architecture: {platform.machine()}')" | |
python -c "import platform; print(f'OS: {platform.system()}')" | |
- name: Install mysql | |
if: runner.os == 'macOS' | |
run: brew install mysql | |
- name: Install dependencies | |
run: make install | |
- name: Run tests | |
run: poetry run pytest aikido_zen/vulnerabilities/sql_injection/init_test.py |