lists.arthurdejong.org
RSS feed

python-stdnum branch master updated. 1.17-23-g8aa6b5e

[Date Prev][Date Next] [Thread Prev][Thread Next]

python-stdnum branch master updated. 1.17-23-g8aa6b5e



This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "python-stdnum".

The branch, master has been updated
       via  8aa6b5e34e1428223e8c75421a624911d9cb5098 (commit)
      from  ce9322c25ce9956e35973ea1bd6e1a1d9c8bbdb0 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://arthurdejong.org/git/python-stdnum/commit/?id=8aa6b5e34e1428223e8c75421a624911d9cb5098

commit 8aa6b5e34e1428223e8c75421a624911d9cb5098
Author: Christian Clauss <cclauss@me.com>
Date:   Sat Aug 13 17:25:25 2022 +0200

    Remove redundant steps with tox_job
    
    This also switches the other Tox jobs to use the latest Python 3.x
    interpreter.
    
    Closes https://github.com/arthurdejong/python-stdnum/pull/305

diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index a85a1ee..2eef84e 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -25,30 +25,22 @@ jobs:
         run: python -m pip install --upgrade pip tox
       - name: Run tox
         run: tox -e "$(echo py${{ matrix.python-version }} | sed -e 
's/[.]//g;s/pypypy/pypy/')" --skip-missing-interpreters false
-  docs:
-    runs-on: ubuntu-latest
-    steps:
-      - uses: actions/checkout@v3
-      - name: Set up Python 3.8
-        uses: actions/setup-python@v4
-        with:
-          python-version: 3.8
-      - name: Install dependencies
-        run: python -m pip install --upgrade pip tox
-      - name: Run tox
-        run: tox -e docs --skip-missing-interpreters false
-  flake8:
+  tox_job:
     runs-on: ubuntu-latest
+    strategy:
+      fail-fast: false
+      matrix:
+        tox_job: [docs, flake8]
     steps:
       - uses: actions/checkout@v3
-      - name: Set up Python 3.8
+      - name: Set up Python
         uses: actions/setup-python@v4
         with:
-          python-version: 3.8
+          python-version: 3.x
       - name: Install dependencies
         run: python -m pip install --upgrade pip tox
-      - name: Tox
-        run: tox -e flake8 --skip-missing-interpreters false
+      - name: Run tox ${{ matrix.tox_job }}
+        run: tox -e ${{ matrix.tox_job }} --skip-missing-interpreters false
   CodeQL:
     runs-on: ubuntu-latest
     permissions:

-----------------------------------------------------------------------

Summary of changes:
 .github/workflows/test.yml | 26 +++++++++-----------------
 1 file changed, 9 insertions(+), 17 deletions(-)


hooks/post-receive
-- 
python-stdnum