fix(cicd): Python 3.5~3.7 not available #5
Workflow file for this run
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: nest_asyncio | |
| on: [ push, pull_request, workflow_dispatch ] | |
| env: | |
| FORCE_COLOR: 1 | |
| jobs: | |
| build: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest, macos-latest, windows-latest] | |
| python-version: [ 3.5, 3.6, 3.7, 3.8, 3.9, "3.10", "3.11", "3.12", pypy-3.9 ] | |
| exclude: | |
| - os: ubuntu-latest | |
| python-version: 3.5 | |
| - os: ubuntu-latest | |
| python-version: 3.6 | |
| - os: ubuntu-latest | |
| python-version: 3.7 | |
| - os: macos-latest | |
| python-version: 3.5 | |
| - os: macos-latest | |
| python-version: 3.6 | |
| - os: macos-latest | |
| python-version: 3.7 | |
| # include: | |
| # - os: ubuntu-20.04 | |
| # python-version: 3.5 | |
| # - os: ubuntu-20.04 | |
| # python-version: 3.6 | |
| # - os: ubuntu-20.04 | |
| # python-version: 3.7 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| allow-prereleases: true | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| # pip install flake8 mypy . | |
| pip install . | |
| # - name: Flake8 static code analysis | |
| # run: | |
| # flake8 nest_asyncio2.py | |
| # - name: MyPy static code analysis | |
| # run: | | |
| # mypy nest_asyncio2.py | |
| - name: Testsuite | |
| run: | | |
| python tests/nest_test.py | |