Improve import error message #120
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Test Webware for Python 3 package | |
| on: [push] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 5 | |
| strategy: | |
| max-parallel: 6 | |
| matrix: | |
| python-version: ['3.10', '3.11', '3.12', '3.13', 'pypy-3.10', 'pypy-3.11'] | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install .[tests] | |
| - name: Lint with flake8 | |
| if: matrix.python-version == '3.13' | |
| run: | | |
| flake8 webware --count --exit-zero --statistics | |
| - name: Lint with pylint | |
| if: matrix.python-version == '3.13' | |
| run: | | |
| pylint webware | |
| - name: Run all unit tests | |
| run: | | |
| cd webware | |
| python -m unittest discover -fv -p Test*.py |