Skip to content

Added DCO instructions to contributing guidelines. (#44) #242

Added DCO instructions to contributing guidelines. (#44)

Added DCO instructions to contributing guidelines. (#44) #242

Workflow file for this run

---
name: vcs2l
on:
push:
branches:
- main
pull_request:
types: [opened, synchronize, reopened]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- macos-latest
- ubuntu-22.04
- ubuntu-24.04
- windows-2022
- windows-2025
python-version: ["3.10", "3.12"]
include:
- os: ubuntu-22.04
python-version: "3.7"
- os: ubuntu-22.04
python-version: "3.8"
steps:
- name: Checkout repository
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
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: Install dependencies (Ubuntu)
run: |
sudo apt-get update
sudo apt-get install -y subversion mercurial
if: startsWith(matrix.os, 'ubuntu')
- name: Test with pytest
run: |
pip install --upgrade .[test]
pip install --upgrade coverage
git config --global --add init.defaultBranch main
git config --global --add advice.detachedHead true
${{ startsWith(matrix.os, 'windows') && 'set PYTHONPATH=%cd% &&' || 'PYTHONPATH=`pwd`' }} pytest -s -v test