aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2024-01-12 09:38:52 +0200
committerArthur Zamarin <arthurzam@gentoo.org>2024-01-12 09:38:52 +0200
commit0081f41d17e3cd1e7fc7b5ebd55a65240c8e651b (patch)
treee4691b38f9429a052afafcb8a5e4172258fcda67
parentci: verify pkgdev master with pkgcore master (diff)
downloadpkgcore-0081f41d17e3cd1e7fc7b5ebd55a65240c8e651b.tar.gz
pkgcore-0081f41d17e3cd1e7fc7b5ebd55a65240c8e651b.tar.bz2
pkgcore-0081f41d17e3cd1e7fc7b5ebd55a65240c8e651b.zip
ci: run pmaint regen over ::gentoo repo
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
-rw-r--r--.github/workflows/test.yml34
1 files changed, 29 insertions, 5 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index b2b5f62e1..8c7fa1de1 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -75,9 +75,7 @@ jobs:
pkgcheck-test:
runs-on: ubuntu-latest
-
steps:
-
- name: Checkout pkgcore
uses: actions/checkout@v3
with:
@@ -112,15 +110,13 @@ jobs:
pkgdev-test:
runs-on: ubuntu-latest
-
steps:
-
- name: Checkout pkgcore
uses: actions/checkout@v3
with:
path: pkgcore
- - name: Checkout pkgcheck
+ - name: Checkout pkgdev
uses: actions/checkout@v3
with:
repository: pkgcore/pkgdev
@@ -153,3 +149,31 @@ jobs:
- name: Checkout code
uses: actions/checkout@v3
- uses: psf/black@stable
+
+ gentoo-regen:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout pkgcore
+ uses: actions/checkout@v3
+ with:
+ path: pkgcore
+
+ - name: Checkout gentoo
+ uses: actions/checkout@v3
+ with:
+ repository: gentoo/gentoo
+ path: gentoo
+
+ - name: Set up Python 3.11
+ uses: actions/setup-python@v4
+ with:
+ python-version: '3.11'
+
+ - name: Install pip dependencies
+ run: |
+ python -m pip install --upgrade pip
+ pip install -e "./pkgcore"
+
+ - name: Run pmaint regen
+ working-directory: ./gentoo
+ run: pmaint regen --use-local-desc --pkg-desc-index --rsync --force .