mirror of
https://github.com/StevenBlack/hosts.git
synced 2024-07-02 18:45:52 +02:00
Update CI
* drop Python 3.5 * add pip caching back * run makeHosts.py too
This commit is contained in:
parent
218ce3c901
commit
1714afb293
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
|
@ -14,7 +14,6 @@ jobs:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
python:
|
python:
|
||||||
- '3.5'
|
|
||||||
- '3.6'
|
- '3.6'
|
||||||
- '3.7'
|
- '3.7'
|
||||||
- '3.8'
|
- '3.8'
|
||||||
|
@ -33,6 +32,7 @@ jobs:
|
||||||
uses: actions/setup-python@v3
|
uses: actions/setup-python@v3
|
||||||
with:
|
with:
|
||||||
python-version: ${{ matrix.python }}
|
python-version: ${{ matrix.python }}
|
||||||
|
cache: pip
|
||||||
|
|
||||||
- name: Print versions
|
- name: Print versions
|
||||||
run: |
|
run: |
|
||||||
|
@ -45,5 +45,8 @@ jobs:
|
||||||
- name: Run lint
|
- name: Run lint
|
||||||
run: flake8
|
run: flake8
|
||||||
|
|
||||||
|
- name: Run makeHosts.py
|
||||||
|
run: python makeHosts.py
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: python testUpdateHostsFile.py
|
run: python testUpdateHostsFile.py
|
||||||
|
|
|
@ -81,7 +81,7 @@ docker run -it (containerid) bash
|
||||||
|
|
||||||
### Option 2: Generate it in your own environment
|
### 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:
|
First, install the dependencies with:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user