2021-09-29 16:43:13 +03:00
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: [ master ]
|
|
|
|
pull_request:
|
|
|
|
branches: [ master ]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
2021-10-01 11:15:57 +03:00
|
|
|
runs-on: ${{ matrix.os }}
|
2021-09-29 16:43:13 +03:00
|
|
|
strategy:
|
|
|
|
matrix:
|
2021-10-01 11:15:57 +03:00
|
|
|
os: [ubuntu-latest, macos-latest]
|
2021-10-07 01:32:35 +03:00
|
|
|
python-version: [ '2.x', '3.10', 'pypy-2.7', 'pypy-3.7' ]
|
2021-09-29 16:43:13 +03:00
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Set up Python
|
|
|
|
uses: actions/setup-python@v2
|
|
|
|
with:
|
|
|
|
python-version: ${{ matrix.python-version }}
|
|
|
|
- name: Basic import test
|
|
|
|
run: python -c "import sqlmap; import sqlmapapi"
|
|
|
|
- name: Smoke test
|
|
|
|
run: python sqlmap.py --smoke
|
|
|
|
- name: Vuln test
|
|
|
|
run: python sqlmap.py --vuln
|