Update README #91
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: Tests | |
| on: ["push", "pull_request"] | |
| jobs: | |
| test: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, windows-latest] | |
| python: [2.7, 3.13] | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Install python ${{ matrix.python }} with LisardByte/setup_python action | |
| if: matrix.python <= 2.7 | |
| uses: LizardByte/actions/actions/setup_python@master | |
| with: | |
| python-version: ${{ matrix.python }} | |
| - name: Install python ${{ matrix.python }} with standard setup-python action | |
| if: matrix.python > 2.7 | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: ${{ matrix.python }} | |
| - name: Install dependencies | |
| run: | | |
| pip install -U -r requirements_dev.txt | |
| - name: Build wheel and install | |
| run: | | |
| make build | |
| mv test_server backup_test_server | |
| mv dist/*.whl dist/test_server-0.0.1-py2.py3-none-any.whl | |
| pip install -U dist/test_server-0.0.1-py2.py3-none-any.whl | |
| - name: Run tests | |
| run: | | |
| make test |