Skip to content

feat: add partial clone argument in vcs import #222

feat: add partial clone argument in vcs import

feat: add partial clone argument in vcs import #222

Workflow file for this run

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