From 1714afb2931efcc2906040a35cab52aad32c6115 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Sat, 12 Mar 2022 07:47:29 +0200 Subject: [PATCH] Update CI * drop Python 3.5 * add pip caching back * run makeHosts.py too --- .github/workflows/ci.yml | 5 ++++- readme_template.md | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index eaf451632..c8467f364 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,7 +14,6 @@ jobs: fail-fast: false matrix: python: - - '3.5' - '3.6' - '3.7' - '3.8' @@ -33,6 +32,7 @@ jobs: uses: actions/setup-python@v3 with: python-version: ${{ matrix.python }} + cache: pip - name: Print versions run: | @@ -45,5 +45,8 @@ jobs: - name: Run lint run: flake8 + - name: Run makeHosts.py + run: python makeHosts.py + - name: Run tests run: python testUpdateHostsFile.py diff --git a/readme_template.md b/readme_template.md index b898a2159..8098f1a37 100644 --- a/readme_template.md +++ b/readme_template.md @@ -81,7 +81,7 @@ docker run -it (containerid) bash ### Option 2: Generate it in your own environment -To generate your own amalgamated hosts files you will need Python 3.5 or later. +To generate your own amalgamated hosts files you will need Python 3.6 or later. First, install the dependencies with: