Skip to content

Commit

Permalink
CI: real life testing
Browse files Browse the repository at this point in the history
  • Loading branch information
paugier committed Dec 17, 2024
1 parent 97340a5 commit 15923a1
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,12 @@ jobs:
run: pdm sync --clean
- name: Run tests
run: pdm run pytest --cov=hg_setup tests
- name: Check real life usage
run: |
pdm run hg-setup -h
pdm run hg-setup init --auto
hg version -v
hg debuginstall
cd $HOME
hg clone https://github.com/fluiddyn/hg-setup.git
cd hg-setup
13 changes: 12 additions & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,24 @@ before_script:
- python -m pip install pdm



test:linux:
stage: test
script:
- pdm sync --clean
- pdm run pytest --cov=hg_setup tests

test:real-life:
stage: test
script:
- python -m pip install uv
- uv tool install mercurial --with hg-git --with hg-evolve
- uv tool install .
- export PATH=/root/.local/bin:$PATH
- hg-setup init --auto
- cd $HOME
- hg clone https://github.com/fluiddyn/hg-setup.git
- cd hg-setup


build:package:
stage: build
Expand Down

0 comments on commit 15923a1

Please sign in to comment.