1
1
mirror of https://github.com/eblot/pybootd.git synced 2024-08-18 02:10:34 +03:00
pybootd/.github/workflows/pythonpackage.yml
2020-04-12 19:18:25 +02:00

28 lines
628 B
YAML

name: Python package
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.5, 3.6, 3.7, 3.8]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install setuptools wheel
- name: Build package
run: |
python setup.py bdist
python setup.py sdist bdist_wheel