File: tests.yml

package info (click to toggle)
sqlmap 1.10.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 12,516 kB
  • sloc: python: 53,001; xml: 14,037; ansic: 989; sh: 311; makefile: 62; sql: 61; perl: 30; cpp: 27; asm: 7
file content (31 lines) | stat: -rw-r--r-- 838 bytes parent folder | download
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
29
30
31
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.8', '3.14' ]
        exclude:
          - os: macos-latest
            python-version: 'pypy-2.7'
    steps:
      - name: Checkout code
        uses: actions/checkout@v4
        with:
          fetch-depth: 1
      - name: Set up Python ${{ matrix.python-version }}
        uses: actions/setup-python@v5
        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