Skip to content

Addition of GitHub Actions + Switch of Linter #2

Addition of GitHub Actions + Switch of Linter

Addition of GitHub Actions + Switch of Linter #2

Workflow file for this run

name: Test Build of Package
on:
push:
pull_request:
permissions:
contents: read
jobs:
package-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: 3.9
- name: Install Poetry
run: |
python -m pip install --upgrade pip
pip install poetry
poetry config virtualenvs.in-project false
poetry config virtualenvs.path ~/.virtualenvs
poetry config pypi-token.pypi ${{ secrets.PYPI_API_TOKEN }}
- name: Build package
run: |
poetry build