Setting up python
This commit is contained in:
parent
d9671aa859
commit
283e6cedd1
|
@ -14,8 +14,12 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: ${{ hashFiles('test/*.py') != '' }}
|
if: ${{ hashFiles('test/*.py') != '' }}
|
||||||
steps:
|
steps:
|
||||||
- name: Install test dependencies
|
- name: Setting up python
|
||||||
run: pip install -y pytest
|
uses: actions/setup-python@v4
|
||||||
|
with:
|
||||||
|
python-version: '3.x'
|
||||||
|
- name: Installing dependencies
|
||||||
|
run: python -m pip install --upgrade pip setuptools wheel pytest
|
||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
- name: Build
|
- name: Build
|
||||||
|
@ -25,8 +29,12 @@ jobs:
|
||||||
publish:
|
publish:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Install build dependencies
|
- name: Setting up python
|
||||||
run: pip install -y build twine
|
uses: actions/setup-python@v4
|
||||||
|
with:
|
||||||
|
python-version: '3.x'
|
||||||
|
- name: Installing dependencies
|
||||||
|
run: python -m pip install --upgrade pip setuptools wheel build twine
|
||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
- name: Build
|
- name: Build
|
||||||
|
|
Loading…
Reference in New Issue
Block a user