File: tests.yml

package info (click to toggle)
sqlmap 1.10-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 12,492 kB
  • sloc: python: 52,942; xml: 13,974; ansic: 989; sh: 302; makefile: 62; sql: 61; perl: 30; cpp: 27; asm: 7
file content (28 lines) | stat: -rw-r--r-- 735 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
on:
  push:
    branches: [ master ]
  pull_request:
    branches: [ master ]

jobs:
  build:
    runs-on: ${{ matrix.os }}
    strategy:
      matrix:
        os: [ubuntu-latest, macos-latest, windows-latest]
        python-version: [ 'pypy-2.7', '3.13' ]
        exclude:
          - os: macos-latest
            python-version: 'pypy-2.7'
    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