|
@@ -31,21 +31,27 @@ jobs: |
|
|
with: |
|
|
with: |
|
|
python-version: ${{ matrix.python_version }} |
|
|
python-version: ${{ matrix.python_version }} |
|
|
|
|
|
|
|
|
- name: Prepare environment |
|
|
|
|
|
|
|
|
- name: Prepare environment (non-Windows systems) |
|
|
|
|
|
if: ${{ matrix.os != 'windows-2019' }} |
|
|
run: | |
|
|
run: | |
|
|
pip install --upgrade pip pipenv |
|
|
pip install --upgrade pip pipenv |
|
|
|
|
|
|
|
|
|
|
|
- name: Prepare environment (Windows) |
|
|
|
|
|
if: ${{ matrix.os == 'windows-2019' }} |
|
|
|
|
|
run: | |
|
|
|
|
|
python -mpip install --upgrade pip pipenv |
|
|
|
|
|
|
|
|
- name: Install dependencies (all systems) |
|
|
- name: Install dependencies (all systems) |
|
|
run: | |
|
|
run: | |
|
|
pipenv lock --pre |
|
|
pipenv lock --pre |
|
|
pipenv sync --dev |
|
|
pipenv sync --dev |
|
|
pipenv install --dev |
|
|
pipenv install --dev |
|
|
|
|
|
|
|
|
- name: Install dependencies (Windows-specific) |
|
|
|
|
|
|
|
|
- name: Install dependencies (Windows) |
|
|
if: ${{ matrix.os == 'windows-2019' }} |
|
|
if: ${{ matrix.os == 'windows-2019' }} |
|
|
run: | |
|
|
run: | |
|
|
pipenv lock --dev -r > requirements.txt |
|
|
pipenv lock --dev -r > requirements.txt |
|
|
pip install -r requirements.txt |
|
|
|
|
|
|
|
|
python -mpip install -r requirements.txt |
|
|
|
|
|
|
|
|
- name: Run legacy tests |
|
|
- name: Run legacy tests |
|
|
run: | |
|
|
run: | |
|
@@ -75,21 +81,27 @@ jobs: |
|
|
with: |
|
|
with: |
|
|
python-version: ${{ matrix.python_version }} |
|
|
python-version: ${{ matrix.python_version }} |
|
|
|
|
|
|
|
|
- name: Prepare environment |
|
|
|
|
|
|
|
|
- name: Prepare environment (non-Windows systems) |
|
|
|
|
|
if: ${{ matrix.os != 'windows-2019' }} |
|
|
run: | |
|
|
run: | |
|
|
pip install --upgrade pip pipenv |
|
|
pip install --upgrade pip pipenv |
|
|
|
|
|
|
|
|
|
|
|
- name: Prepare environment (Windows) |
|
|
|
|
|
if: ${{ matrix.os == 'windows-2019' }} |
|
|
|
|
|
run: | |
|
|
|
|
|
python -mpip install --upgrade pip pipenv |
|
|
|
|
|
|
|
|
- name: Install dependencies (all systems) |
|
|
- name: Install dependencies (all systems) |
|
|
run: | |
|
|
run: | |
|
|
pipenv lock --pre |
|
|
pipenv lock --pre |
|
|
pipenv sync --dev |
|
|
pipenv sync --dev |
|
|
pipenv install --dev |
|
|
pipenv install --dev |
|
|
|
|
|
|
|
|
- name: Install dependencies (Windows-specific) |
|
|
|
|
|
|
|
|
- name: Install dependencies (Windows) |
|
|
if: ${{ matrix.os == 'windows-2019' }} |
|
|
if: ${{ matrix.os == 'windows-2019' }} |
|
|
run: | |
|
|
run: | |
|
|
pipenv lock -r > requirements.txt |
|
|
pipenv lock -r > requirements.txt |
|
|
pip install -r requirements.txt |
|
|
|
|
|
|
|
|
python -mpip install -r requirements.txt |
|
|
|
|
|
|
|
|
- name: Run doc tests (with coverage) |
|
|
- name: Run doc tests (with coverage) |
|
|
if: ${{ matrix.os == 'ubuntu-20.04' && matrix.python_version == '3.9' }} |
|
|
if: ${{ matrix.os == 'ubuntu-20.04' && matrix.python_version == '3.9' }} |
|
|