diff options
| -rw-r--r-- | .github/workflows/ci.yml | 23 |
1 files changed, 17 insertions, 6 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ccf383f..6d63e24 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,25 +5,36 @@ on: workflow_dispatch: jobs: - test: - strategy: - matrix: - python-version: ['3.9', '3.10', '3.11', '3.12', '3.13', '3.14', '3.x'] + lint: runs-on: ubuntu-latest - name: 'Python ${{ matrix.python-version }}' + name: Linting steps: - name: Checkout uses: actions/checkout@v6 - name: Set up Python uses: actions/setup-python@v6 with: - python-version: '${{ matrix.python-version }}' + python-version: '3.x' - name: Run black uses: psf/black@stable with: # > Please note that the --check flag is required so that the # > workflow fails if Black finds files that need to be formatted. options: --check --verbose --skip-string-normalization + + test: + strategy: + matrix: + python-version: ['3.9', '3.10', '3.11', '3.12', '3.13', '3.14', '3.x'] + runs-on: ubuntu-latest + name: 'Python ${{ matrix.python-version }}' + steps: + - name: Checkout + uses: actions/checkout@v6 + - name: Set up Python + uses: actions/setup-python@v6 + with: + python-version: '${{ matrix.python-version }}' - name: Run tests as root run: sudo ./test/test.sh - name: Run tests |
