mirror of
https://github.com/mnauw/git-remote-hg.git
synced 2026-02-03 03:49:06 +01:00
Mercurial 5.8 does keep working with python 2.7, but hggit 0.10.1 doesn't, and neither does dulwich 0.20.0. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
27 lines
675 B
YAML
27 lines
675 B
YAML
on:
|
|
push:
|
|
branches: [ master ]
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
hg: [ '5.0', '5.1', '5.2', '5.3', '5.4', '5.5', '5.6', '5.7' ]
|
|
env:
|
|
HG_VERSION: ${{ matrix.hg }}
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: actions/setup-python@v4
|
|
with:
|
|
python-version: '2.7'
|
|
- name: Install python-dev
|
|
run: sudo apt-get install -y python2.7-dev
|
|
- name: Cache check-versions script
|
|
id: cache-check-versions
|
|
uses: actions/cache@v3
|
|
with:
|
|
path: ~/.cache/git-remote-hg
|
|
key: check-versions
|
|
- run: ./tools/check-versions hg:$HG_VERSION
|