public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/gentoolkit:master commit in: .github/workflows/
@ 2021-09-20 22:57 Matt Turner
  0 siblings, 0 replies; 11+ messages in thread
From: Matt Turner @ 2021-09-20 22:57 UTC (permalink / raw
  To: gentoo-commits

commit:     2631b06acb989b291d8beafe4244c6eed8c2aef6
Author:     Wolfgang E. Sanyer <WolfgangESanyer <AT> gmail <DOT> com>
AuthorDate: Mon Sep 20 13:58:39 2021 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Mon Sep 20 22:54:02 2021 +0000
URL:        https://gitweb.gentoo.org/proj/gentoolkit.git/commit/?id=2631b06a

Add github action to check formatting

Closes: https://github.com/gentoo/gentoolkit/pull/15
Signed-off-by: Wolfgang E. Sanyer <WolfgangESanyer <AT> gmail.com>
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 .github/workflows/black.yml | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/.github/workflows/black.yml b/.github/workflows/black.yml
new file mode 100644
index 0000000..b04fb15
--- /dev/null
+++ b/.github/workflows/black.yml
@@ -0,0 +1,10 @@
+name: Lint
+
+on: [push, pull_request]
+
+jobs:
+  lint:
+    runs-on: ubuntu-latest
+    steps:
+      - uses: actions/checkout@v2
+      - uses: psf/black@stable


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] proj/gentoolkit:master commit in: .github/workflows/
@ 2021-09-21 21:01 Matt Turner
  0 siblings, 0 replies; 11+ messages in thread
From: Matt Turner @ 2021-09-21 21:01 UTC (permalink / raw
  To: gentoo-commits

commit:     6c5b4603d4d76da55c57212fd84449839dcc6736
Author:     Wolfgang E. Sanyer <WolfgangESanyer <AT> gmail <DOT> com>
AuthorDate: Tue Sep 21 20:46:29 2021 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Tue Sep 21 20:59:45 2021 +0000
URL:        https://gitweb.gentoo.org/proj/gentoolkit.git/commit/?id=6c5b4603

Add github action for flake

Signed-off-by: Wolfgang E. Sanyer <WolfgangESanyer <AT> gmail.com>
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 .github/workflows/flake.yml | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/.github/workflows/flake.yml b/.github/workflows/flake.yml
new file mode 100644
index 0000000..a1a8649
--- /dev/null
+++ b/.github/workflows/flake.yml
@@ -0,0 +1,20 @@
+name: Code Quality
+
+on: [push, pull_request]
+
+jobs:
+  build:
+
+    runs-on: ubuntu-latest
+
+    steps:
+    - uses: actions/checkout@v2
+    - name: Set up Python
+      uses: actions/setup-python@v2
+    - name: Install flake
+      run: |
+        python -m pip install --upgrade pip
+        pip install flake8
+    - name: Run flake
+      run: |
+        flake8 pym


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] proj/gentoolkit:master commit in: .github/workflows/
@ 2021-09-21 21:01 Matt Turner
  0 siblings, 0 replies; 11+ messages in thread
From: Matt Turner @ 2021-09-21 21:01 UTC (permalink / raw
  To: gentoo-commits

commit:     0fa55427d252c5e41d1e3cbd28a86f530197eb02
Author:     Wolfgang E. Sanyer <WolfgangESanyer <AT> gmail <DOT> com>
AuthorDate: Tue Sep 21 01:57:58 2021 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Tue Sep 21 20:59:24 2021 +0000
URL:        https://gitweb.gentoo.org/proj/gentoolkit.git/commit/?id=0fa55427

Add github action unit-test CI

Closes: https://github.com/gentoo/gentoolkit/pull/16
Signed-off-by: Wolfgang E. Sanyer <WolfgangESanyer <AT> gmail.com>
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 .github/workflows/ci.yml | 44 ++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 44 insertions(+)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
new file mode 100644
index 0000000..60b8205
--- /dev/null
+++ b/.github/workflows/ci.yml
@@ -0,0 +1,44 @@
+name: Unit tests
+
+on: [push, pull_request]
+
+jobs:
+  build:
+
+    runs-on: ubuntu-latest
+    strategy:
+      matrix:
+        python-version:
+        - '3.7'
+        - '3.8'
+        - '3.9'
+        - '3.10.0-alpha - 3.10.0'
+        - 'pypy-3.7'
+
+    env:
+      PORTAGE_VERSION: "3.0.20"
+
+    steps:
+    - uses: actions/checkout@v2
+    - name: Set up Python ${{ matrix.python-version }}
+      uses: actions/setup-python@v2
+      with:
+        python-version: ${{ matrix.python-version }}
+    - name: Install portage
+      run: |
+        mkdir portage
+        wget -qO - "https://github.com/gentoo/portage/archive/portage-${PORTAGE_VERSION}.tar.gz" | tar xz -C portage --strip-components=1
+        sudo groupadd -g 250 portage
+        sudo useradd -g portage -d /var/tmp/portage -s /bin/false -u 250 portage
+    - name: Setup gentoo env (required by portage)
+      run: |
+        sudo mkdir -p /var/db/repos/gentoo /etc/portage /var/cache/distfiles
+        wget -qO - "https://github.com/gentoo-mirror/gentoo/archive/master.tar.gz" | sudo tar xz -C /var/db/repos/gentoo --strip-components=1
+        sudo wget "https://www.gentoo.org/dtd/metadata.dtd" -O /var/cache/distfiles/metadata.dtd
+        sudo wget "https://gitweb.gentoo.org/proj/portage.git/plain/cnf/repos.conf" -O /etc/portage/repos.conf
+        sudo ln -s /var/db/repos/gentoo/profiles/default/linux/amd64/17.1/systemd /etc/portage/make.profile
+    - name: Run tests
+      run: |
+        export PYTHONPATH="${PWD}/portage/lib"${PYTHONPATH:+:}${PYTHONPATH}
+        export PATH="${PWD}/portage/bin":${PATH}
+        python setup.py test


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] proj/gentoolkit:master commit in: .github/workflows/
@ 2023-03-20  3:53 Sam James
  0 siblings, 0 replies; 11+ messages in thread
From: Sam James @ 2023-03-20  3:53 UTC (permalink / raw
  To: gentoo-commits

commit:     a5f1b8e775fe1d7d3ea55be6bf4813e54126f890
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 20 03:52:59 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Mar 20 03:52:59 2023 +0000
URL:        https://gitweb.gentoo.org/proj/gentoolkit.git/commit/?id=a5f1b8e7

CI: add Python 3.12 alphas

Per https://github.com/actions/setup-python/issues/150, we can just do
3.12-dev and such.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 .github/workflows/ci.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 90444dc..509f82e 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -14,6 +14,7 @@ jobs:
         - '3.9'
         - '3.10'
         - '3.11'
+        - '3.12-dev'
         - 'pypy-3.7'
         - 'pypy-3.8'
         - 'pypy-3.9'


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] proj/gentoolkit:master commit in: .github/workflows/
@ 2023-03-20  3:53 Sam James
  0 siblings, 0 replies; 11+ messages in thread
From: Sam James @ 2023-03-20  3:53 UTC (permalink / raw
  To: gentoo-commits

commit:     690bd313006a5a84b260fde2e6c7be788dd97bd0
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 20 03:52:21 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Mar 20 03:52:41 2023 +0000
URL:        https://gitweb.gentoo.org/proj/gentoolkit.git/commit/?id=690bd313

CI: update Portage version

Signed-off-by: Sam James <sam <AT> gentoo.org>

 .github/workflows/ci.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 422daa7..90444dc 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -19,7 +19,8 @@ jobs:
         - 'pypy-3.9'
 
     env:
-      PORTAGE_VERSION: "3.0.30"
+      # TODO: get this dynamically
+      PORTAGE_VERSION: "3.0.45.3"
 
     steps:
     - uses: actions/checkout@v2


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] proj/gentoolkit:master commit in: .github/workflows/
@ 2023-03-20  3:53 Sam James
  0 siblings, 0 replies; 11+ messages in thread
From: Sam James @ 2023-03-20  3:53 UTC (permalink / raw
  To: gentoo-commits

commit:     d0998f38174bffe40dfab925fc4ca23eff1ae5af
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 20 03:51:52 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Mar 20 03:51:52 2023 +0000
URL:        https://gitweb.gentoo.org/proj/gentoolkit.git/commit/?id=d0998f38

CI: fix Python 3.11 workflow/job

Use the latest Python 3.11 release.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 .github/workflows/ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 83e6ef3..422daa7 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -13,7 +13,7 @@ jobs:
         - '3.8'
         - '3.9'
         - '3.10'
-        - '3.11.0-alpha - 3.11.0'
+        - '3.11'
         - 'pypy-3.7'
         - 'pypy-3.8'
         - 'pypy-3.9'


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] proj/gentoolkit:master commit in: .github/workflows/
@ 2024-01-12 19:16 Matt Turner
  0 siblings, 0 replies; 11+ messages in thread
From: Matt Turner @ 2024-01-12 19:16 UTC (permalink / raw
  To: gentoo-commits

commit:     a91f692dabd34bc39f332a9af8fe2434b6207f8d
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 11 21:43:27 2024 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Thu Jan 11 21:43:52 2024 +0000
URL:        https://gitweb.gentoo.org/proj/gentoolkit.git/commit/?id=a91f692d

CI: Update portage to 3.0.57

Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 .github/workflows/ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index c78050d..cfb1eb3 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -17,7 +17,7 @@ jobs:
 
     env:
       # TODO: get this dynamically
-      PORTAGE_VERSION: "3.0.45.3"
+      PORTAGE_VERSION: "3.0.57"
 
     steps:
     - uses: actions/checkout@v2


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] proj/gentoolkit:master commit in: .github/workflows/
@ 2024-01-19  4:28 Sam James
  0 siblings, 0 replies; 11+ messages in thread
From: Sam James @ 2024-01-19  4:28 UTC (permalink / raw
  To: gentoo-commits

commit:     2ee5764c48adbb2094cafc0130ffb4ffc6a487b1
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 19 04:24:09 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jan 19 04:24:09 2024 +0000
URL:        https://gitweb.gentoo.org/proj/gentoolkit.git/commit/?id=2ee5764c

ci: add pypy3.10

Signed-off-by: Sam James <sam <AT> gentoo.org>

 .github/workflows/ci.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index cfb1eb3..bcb2d59 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -14,6 +14,7 @@ jobs:
         - '3.11'
         - '3.12-dev'
         - 'pypy-3.9'
+        - 'pypy-3.10'
 
     env:
       # TODO: get this dynamically


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] proj/gentoolkit:master commit in: .github/workflows/
@ 2024-01-19  4:54 Sam James
  0 siblings, 0 replies; 11+ messages in thread
From: Sam James @ 2024-01-19  4:54 UTC (permalink / raw
  To: gentoo-commits

commit:     e0dc707cc7a37336c175faf463666e5f531a338f
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 19 04:24:22 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jan 19 04:26:06 2024 +0000
URL:        https://gitweb.gentoo.org/proj/gentoolkit.git/commit/?id=e0dc707c

ci: add py3.13

Signed-off-by: Sam James <sam <AT> gentoo.org>

 .github/workflows/ci.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index bcb2d59..40b1de8 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -12,7 +12,8 @@ jobs:
         - '3.9'
         - '3.10'
         - '3.11'
-        - '3.12-dev'
+        - '3.12'
+        - '3.13-dev'
         - 'pypy-3.9'
         - 'pypy-3.10'
 


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] proj/gentoolkit:master commit in: .github/workflows/
@ 2024-01-19  4:55 Sam James
  0 siblings, 0 replies; 11+ messages in thread
From: Sam James @ 2024-01-19  4:55 UTC (permalink / raw
  To: gentoo-commits

commit:     0f64bf5571e0b9e40c5718a89884a3389760af6c
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 19 04:55:04 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jan 19 04:55:04 2024 +0000
URL:        https://gitweb.gentoo.org/proj/gentoolkit.git/commit/?id=0f64bf55

Revert "ci: add py3.13"

This reverts commit e0dc707cc7a37336c175faf463666e5f531a338f.

Didn't mean to push this.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 .github/workflows/ci.yml | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 40b1de8..bcb2d59 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -12,8 +12,7 @@ jobs:
         - '3.9'
         - '3.10'
         - '3.11'
-        - '3.12'
-        - '3.13-dev'
+        - '3.12-dev'
         - 'pypy-3.9'
         - 'pypy-3.10'
 


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] proj/gentoolkit:master commit in: .github/workflows/
@ 2024-03-12 21:43 Sam James
  0 siblings, 0 replies; 11+ messages in thread
From: Sam James @ 2024-03-12 21:43 UTC (permalink / raw
  To: gentoo-commits

commit:     91b74fc8105b7e08a04da4daef9283fc69bf5f85
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 12 21:42:46 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Mar 12 21:42:56 2024 +0000
URL:        https://gitweb.gentoo.org/proj/gentoolkit.git/commit/?id=91b74fc8

ci: enable new test option

See 988e47557368df49035eeba94beca893f7b267c1.

Bug: https://bugs.gentoo.org/926427
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .github/workflows/ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 803dfde..871d4aa 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -50,7 +50,7 @@ jobs:
     - name: Test meson install --destdir /tmp/install-root
       run: |
         echo -e "[binaries]\npython = '$(command -v python)'" > /tmp/native.ini
-        meson setup --native-file /tmp/native.ini /tmp/build .
+        meson setup -Dtests=true --native-file /tmp/native.ini /tmp/build .
         meson install -C /tmp/build --destdir /tmp/install-root
     - name: Run tests for ${{ matrix.python-version }}
       run: |


^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2024-03-12 21:43 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-20  3:53 [gentoo-commits] proj/gentoolkit:master commit in: .github/workflows/ Sam James
  -- strict thread matches above, loose matches on Subject: below --
2024-03-12 21:43 Sam James
2024-01-19  4:55 Sam James
2024-01-19  4:54 Sam James
2024-01-19  4:28 Sam James
2024-01-12 19:16 Matt Turner
2023-03-20  3:53 Sam James
2023-03-20  3:53 Sam James
2021-09-21 21:01 Matt Turner
2021-09-21 21:01 Matt Turner
2021-09-20 22:57 Matt Turner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox