ymyzk / tox-gh-actions

Seamless integration of tox into GitHub Actions for tox 3 and 4
MIT License
249 stars 25 forks source link

Tox step not executed #179

Closed lu-maca closed 1 year ago

lu-maca commented 1 year ago

Hi,

I'm trying to set up a workflow that uses tox to run tests for my package.

The workflow file that I'm using is the same from the README of this repository:

name: Tests

on:
  - push
  - pull_request

jobs:
  build:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        python-version: ['3.8' ]

    steps:
    - uses: actions/checkout@v3
    - name: Set up Python ${{ matrix.python-version }}
      uses: actions/setup-python@v4
      with:
        python-version: ${{ matrix.python-version }}
    - name: Install dependencies
      run: |
        python -m pip install --upgrade pip
        python -m pip install tox tox-gh-actions
    - name: Test with tox
      run: tox 

However, during the "Test with tox" step, tests are not executed correctly (as far as I can tell) and the following error is raised: py: tox-gh-actions couldn't understand the parallel option. ignoring the given option: 0 immagine

Am I doing something wrong?

This is the branch in which I'm trying to trigger the action. This is a failed action.

Thanks, Luca