GitHub Actions (lens)

This commit is contained in:
Nelson Chen
2019-11-09 09:49:46 -07:00
committed by simleek
parent 51777a6e55
commit 1b4818edad
2 changed files with 23 additions and 22 deletions
+23
View File
@@ -0,0 +1,23 @@
name: Python package
on: [push]
jobs:
build:
runs-on: windows-latest
strategy:
fail-fast: false
max-parallel: 4
matrix:
python-version: [3.6, 3.7]
steps:
- uses: actions/checkout@v1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- uses: dschep/install-poetry-action@v1.2
- run: poetry install
- run: poetry run pytest tests
-22
View File
@@ -1,22 +0,0 @@
language: python
dist: xenial
sudo: true
cache: pip
python:
- '3.5'
- '3.6'
- '3.7'
before_install:
- pip install poetry
- pip install tox
install:
- poetry install
script:
- poetry build
deploy:
provider: pypi
user: SimLeek
skip_existing: true
password:
secure: Iyg4UilFJrpZeOyRCdyVmUT76qZzkmtPGoundyjgKIjmXharVgdpN5G1v/7NRCjifxk9vnI5QGFUcd88LpnyTg5tbLm7gttiyV4cue/UPXc8LJEu1vhc3y6fjT26pr3slEFQNuhYWCEx1HxMilizDURqxOIrQeOnYAe8UBuYrwbs6lyVLE18ojetRpMeDJ9GDwOtYboizv3TtohR/sv/XbKMpqMVWFdQU8hhahi5KgdMYq2RF+em3L9xraUiVID5AZ6DqtCod5iHbULIoabguB2ykMFCBf5XEzs6vEw4dFpvK/aHG1Z6Mmc5sIm6+Cklq73lgqkKCCTRL5Vjq/lsPQ36J4RREO64+O6pQ052M9n+wXpEo8dvy2YDYE3TvlpOmbVJ5BJrExGgYgjsQ9hslp8GroU4aZbroljQuRz8SpzAXhiHnrB29IYNpkQQk93KZAIQdT7xY5iykhtU0eo/uk1vuB64qHWxxJ05PUqCBaaRwWPHOECKccc+fIH6aRIICeRjvyAo/LHDD8b+fC+HFR6nPHKswi7Mhzl9kFI58nbNR6kdQTSPrEiVdIiOTVTY1kBWIZweyV/vJGh+PUZyyWe61r5PFxU9lXMZH8oY/xvGPlhaUrgLvJ1tV24m1EGJ9dbbeuQ9T6dQYqY28IC7gl9JKbmnTBewQfW/F0T2N5I=