Skip to content

chore: add case conversion and updates #33

chore: add case conversion and updates

chore: add case conversion and updates #33

Workflow file for this run

name: neattext_ci
on:
push:
branches: [master,develop]
pull_request:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install pytest
run: python -m pip install pytest
- name: Test with pytest
run: pytest --junit-xml=test-results.xml
- name: Publish Test Results
uses: EnricoMi/publish-unit-test-result-action@v2
if: always()
with:
files: |
test-results.xml
test-results/**/*.xml
test-results/**/*.json
publish:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9"]
poetry-version: [1.1.14]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Run image
uses: abatilo/[email protected]
with:
poetry-version: ${{ matrix.poetry-version }}
- name: Check version
run: poetry -V
- name: Run Check
run: poetry check
- name: Build
run: |
poetry build
- name: Install Twine
run: python -m pip install twine urllib3
- name: Check Name on Pypi
run: twine check dist/*
- name: Publish to pypi
run: |
twine upload -r testpypi dist/*
env:
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}