feat: add partial clone argument in vcs import #222
Workflow file for this run
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: vcstool | |
on: | |
push: | |
pull_request: | |
types: [opened, synchronize, reopened] | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
python-version: [3.5, 3.6, 3.7, 3.8] | |
include: | |
- os: macos-latest | |
python-version: 3.8 | |
- os: windows-latest | |
python-version: 3.8 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v1 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip setuptools wheel | |
python -m pip install --upgrade PyYAML | |
- name: Install dependencies (macOS) | |
run: | | |
brew install subversion mercurial | |
if: matrix.os == 'macos-latest' | |
- name: Test with pytest | |
run: | | |
pip install --upgrade coverage flake8 flake8-docstrings flake8-import-order pytest | |
git config --global --add init.defaultBranch master | |
git config --global --add advice.detachedHead true | |
${{ matrix.os == 'windows-latest' && 'set PYTHONPATH=%cd% &&' || 'PYTHONPATH=`pwd`' }} pytest -s -v test |