Skip to content

Commit c11634e

Browse files
committed
ci: GitHub Actions
1 parent 0ca75fa commit c11634e

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/ci.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: CI Test
2+
3+
on:
4+
- push
5+
- pull_request
6+
7+
jobs:
8+
build:
9+
runs-on: ${{ matrix.os }}
10+
strategy:
11+
matrix:
12+
os: [ubuntu-latest, windows-latest, macos-latest]
13+
python-version: ["3.11", "3.14"]
14+
steps:
15+
- uses: actions/checkout@v4
16+
- name: Install UV
17+
uses: astral-sh/setup-uv@v4
18+
- if: runner.os != 'Windows'
19+
name: Install Mercurial with UV
20+
run: |
21+
uv tool install mercurial
22+
- name: Setup PDM
23+
uses: pdm-project/setup-pdm@v4
24+
with:
25+
python-version: ${{ matrix.python-version }}
26+
- name: Install dependencies with PDM
27+
run: pdm sync --clean
28+
- name: Run tests
29+
run: pdm run pytest test -v --run-slow --cov=install_locked_env
30+
- name: Check Mercurial installation
31+
run: |
32+
hg version -v
33+
hg debuginstall

0 commit comments

Comments
 (0)