clach04 / puren_tonbo

Plain text notes Tombo (chi) alternative, also supports, ccrypt, GnuPG (OpenPGP, gpg), OpenSSL AES-256-CBC, AES-256 ZIP AE-1/AE-2 and VimCrypt encrypted files. Integrates with VIM. WIP
https://pypi.org/project/puren-tonbo/
GNU Lesser General Public License v2.1
1 stars 0 forks source link

TODO add Cpython 2.7 testing for Ubuntu GitHub Workflow Actions #62

Open clach04 opened 1 year ago

clach04 commented 1 year ago

For background see https://github.com/clach04/puren_tonbo/issues/59

Idea, adopt change https://github.com/arthurdejong/python-pskc/commit/9ce2424d91523004b52ddfe8a1038c6a5811b75f - viz. add a new ubuntu CPython 2.7 job, and leave existing matrix alone (i.e. no conditional, so means some duplication):

jobs:
  base_py27:
    runs-on: ubuntu-20.04
    container:
      image: python:2.7.18-buster
    strategy:
      fail-fast: false
      matrix:
        python-version: [2.7]
        flavour: [signxml, legacy, legacy-defusedxml, lxml, lxml-defusedxml]
    steps:
      - uses: actions/checkout@v3
      - name: Install dependencies
        run: python -m pip install --upgrade pip virtualenv tox
      - name: Install development libraries
        if: "${{ startsWith(matrix.python-version, 'pypy') }}"
        run: sudo apt-get update && sudo apt-get install -y libxml2-dev libxslt-dev
      - name: Run tox
        run: tox -e "$(echo py${{ matrix.python-version }}-${{ matrix.flavour }} | sed -e 's/[.]//g;s/pypypy/pypy/')" --skip-missing-interpreters false
  base:
    runs-on: ubuntu-20.04
    strategy:
      fail-fast: false
      matrix:
        #python-version: [2.7, 3.5, 3.6, 3.7, 3.8, 3.9, '3.10', 3.11, pypy2.7, pypy3.8, pypy3.9]  # REMOVED
        python-version: [3.5, 3.6, 3.7, 3.8, 3.9, '3.10', 3.11, pypy2.7, pypy3.8, pypy3.9]
clach04 commented 1 year ago

Also check out https://github.com/coatl-dev/docker-six

clach04 commented 8 months ago

https://github.com/dateutil/dateutil/blob/0586f4afa26fc6799128d98d4f97a49c7d6ab314/.github/workflows/validate.yml#L39-L56 ... include:

clach04 commented 8 months ago

https://github.com/LizardByte/setup-python-action