mirror of
https://github.com/mnauw/git-remote-hg.git
synced 2026-05-06 15:05:58 +02:00
Merge commit 'bad0a3e5e5dd8352b3ea67d6efa8584ebde5311e' into felipec
This commit is contained in:
31
.github/workflows/ci.yml
vendored
31
.github/workflows/ci.yml
vendored
@@ -1,7 +1,7 @@
|
||||
name: CI
|
||||
|
||||
# on: [push]
|
||||
on:
|
||||
# push:
|
||||
# save cycles; disable on push, enable manual trigger
|
||||
workflow_dispatch:
|
||||
|
||||
@@ -10,13 +10,13 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
hg: [ '6.0', '6.1', '6.2', '6.3', '6.4', '6.5', '6.6', '6.7', '6.8', '6.9' ]
|
||||
hg: [ '6.0', '6.1', '6.2', '6.3', '6.4', '6.5', '6.6', '6.7', '6.8', '6.9', '7.0' ]
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-python@v4
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.10'
|
||||
- uses: actions/cache@v3
|
||||
python-version: '3.11'
|
||||
- uses: actions/cache@v4
|
||||
id: cache-pip
|
||||
with:
|
||||
path: ~/.cache/pip
|
||||
@@ -24,4 +24,21 @@ jobs:
|
||||
- name: Install hg
|
||||
run:
|
||||
pip install mercurial==${{ matrix.hg }}
|
||||
- run: make test
|
||||
- run: prove -j4
|
||||
test-windows:
|
||||
runs-on: windows-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.11'
|
||||
- uses: actions/cache@v4
|
||||
id: cache-pip
|
||||
with:
|
||||
path: ~/appdata/local/pip/cache
|
||||
key: pip-windows
|
||||
- name: Install hg
|
||||
run:
|
||||
pip install mercurial
|
||||
- name: Run all tests
|
||||
run: prove -j4 --exec bash.exe
|
||||
|
||||
Reference in New Issue
Block a user