Add version support to workspace/publishDiagnostics
#949
This file contains 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: Windows tests | |
on: | |
push: | |
branches: | |
- develop | |
pull_request: | |
branches: | |
- '*' | |
concurrency: | |
group: test-win-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
name: Win Py${{ matrix.PYTHON_VERSION }} | |
runs-on: windows-latest | |
env: | |
CI: 'true' | |
OS: 'win' | |
PYTHON_VERSION: ${{ matrix.PYTHON_VERSION }} | |
strategy: | |
fail-fast: false | |
matrix: | |
PYTHON_VERSION: ['3.10', '3.9', '3.8'] | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/cache@v1 | |
with: | |
path: ~\AppData\Local\pip\Cache | |
key: ${{ runner.os }}-${{ matrix.PYTHON_VERSION }}-pip-${{ hashFiles('pyproject.toml') }} | |
restore-keys: ${{ runner.os }}-${{ matrix.PYTHON_VERSION }}-pip- | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.PYTHON_VERSION }} | |
architecture: 'x64' | |
- run: python -m pip install --upgrade pip setuptools | |
- run: pip install -e .[all,test] | |
- name: Show test environment | |
run: pip list | |
- run: pytest --color=yes -v test/ |