Bump actions, install wheel (#2446)

* Bump actions/checkout and actions/setup-python versions
* Install wheel to silence some warnings

Co-authored-by: Alexander Kukushkin <[email protected]>
This commit is contained in:
Polina Bungina
2022-11-01 13:55:15 +01:00
committed by GitHub
co-authored by Alexander Kukushkin
parent bda2bedf48
commit ef2922fe37
2 changed files with 12 additions and 11 deletions
+1
View File
@@ -30,6 +30,7 @@ def install_requirements(what):
requirements.append(r) requirements.append(r)
subprocess.call([sys.executable, '-m', 'pip', 'install', '--upgrade', 'pip']) subprocess.call([sys.executable, '-m', 'pip', 'install', '--upgrade', 'pip'])
subprocess.call([sys.executable, '-m', 'pip', 'install', '--upgrade', 'wheel'])
r = subprocess.call([sys.executable, '-m', 'pip', 'install'] + requirements) r = subprocess.call([sys.executable, '-m', 'pip', 'install'] + requirements)
s = subprocess.call([sys.executable, '-m', 'pip', 'install', '--upgrade', 'setuptools']) s = subprocess.call([sys.executable, '-m', 'pip', 'install', '--upgrade', 'setuptools'])
return s | r return s | r
+11 -11
View File
@@ -17,9 +17,9 @@ jobs:
os: [ubuntu, windows, macos] os: [ubuntu, windows, macos]
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v3
- name: Set up Python 2.7 - name: Set up Python 2.7
uses: actions/setup-python@v2 uses: actions/setup-python@v4
with: with:
python-version: 2.7 python-version: 2.7
if: matrix.os != 'windows' if: matrix.os != 'windows'
@@ -31,7 +31,7 @@ jobs:
if: matrix.os != 'windows' if: matrix.os != 'windows'
- name: Set up Python 3.6 - name: Set up Python 3.6
uses: actions/setup-python@v2 uses: actions/setup-python@v4
with: with:
python-version: 3.6 python-version: 3.6
- name: Install dependencies - name: Install dependencies
@@ -40,7 +40,7 @@ jobs:
run: python .github/workflows/run_tests.py run: python .github/workflows/run_tests.py
- name: Set up Python 3.7 - name: Set up Python 3.7
uses: actions/setup-python@v2 uses: actions/setup-python@v4
with: with:
python-version: 3.7 python-version: 3.7
- name: Install dependencies - name: Install dependencies
@@ -49,7 +49,7 @@ jobs:
run: python .github/workflows/run_tests.py run: python .github/workflows/run_tests.py
- name: Set up Python 3.8 - name: Set up Python 3.8
uses: actions/setup-python@v2 uses: actions/setup-python@v4
with: with:
python-version: 3.8 python-version: 3.8
- name: Install dependencies - name: Install dependencies
@@ -58,7 +58,7 @@ jobs:
run: python .github/workflows/run_tests.py run: python .github/workflows/run_tests.py
- name: Set up Python 3.9 - name: Set up Python 3.9
uses: actions/setup-python@v2 uses: actions/setup-python@v4
with: with:
python-version: 3.9 python-version: 3.9
- name: Install dependencies - name: Install dependencies
@@ -67,7 +67,7 @@ jobs:
run: python .github/workflows/run_tests.py run: python .github/workflows/run_tests.py
- name: Set up Python 3.10 - name: Set up Python 3.10
uses: actions/setup-python@v2 uses: actions/setup-python@v4
with: with:
python-version: '3.10' python-version: '3.10'
- name: Install dependencies - name: Install dependencies
@@ -115,9 +115,9 @@ jobs:
dcs: etcd3 dcs: etcd3
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v3
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v2 uses: actions/setup-python@v4
with: with:
python-version: ${{ matrix.python-version }} python-version: ${{ matrix.python-version }}
- name: Add postgresql apt repo - name: Add postgresql apt repo
@@ -127,7 +127,7 @@ jobs:
run: python .github/workflows/install_deps.py run: python .github/workflows/install_deps.py
- name: Run behave tests - name: Run behave tests
run: python .github/workflows/run_tests.py run: python .github/workflows/run_tests.py
- uses: actions/setup-python@v2 - uses: actions/setup-python@v4
with: with:
python-version: '3.10' python-version: '3.10'
- name: Install coveralls - name: Install coveralls
@@ -144,7 +144,7 @@ jobs:
needs: [unit, behave] needs: [unit, behave]
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/setup-python@v2 - uses: actions/setup-python@v4
- run: python -m pip install coveralls - run: python -m pip install coveralls
- run: python -m coveralls --service=github --finish - run: python -m coveralls --service=github --finish
env: env: