Skip to content

Merge pull request #28 from guibacellar/25-internals-deprecate-python… #6

Merge pull request #28 from guibacellar/25-internals-deprecate-python…

Merge pull request #28 from guibacellar/25-internals-deprecate-python… #6

Workflow file for this run

name: CI-Deploy
on:
push:
tags:
- V*
jobs:
CodeQuality:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -r requirements.txt
- name: Run Code Quality
run: |
tox -e quality
TestsAndCodeCoverage:
runs-on: ubuntu-latest
needs: CodeQuality
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -r requirements.txt
- name: Run Unittests and Code Coverage
run: |
tox -e coverage
PublishPypi:
runs-on: ubuntu-latest
needs: TestsAndCodeCoverage
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -r requirements.txt
- name: Deployment
env:
PYPI_DEPLOY_TOKEN: ${{ secrets.PYPI_DEPLOY_TOKEN }}
run: |
tox -e deploy