Resolves deprecation error #664
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build ncem Package | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
if: "!contains(github.event.head_commit.message, '[skip ci]') && !contains(github.event.head_commit.message, '[ci skip]')" | |
strategy: | |
matrix: | |
os: [macos-latest, ubuntu-latest, windows-latest] | |
python: [3.8] | |
steps: | |
- uses: actions/checkout@v2 | |
name: Check out source-code repository | |
- name: Setup Python | |
uses: actions/[email protected] | |
with: | |
python-version: ${{ matrix.python }} | |
- name: Install Poetry | |
run: | | |
pip install poetry | |
poetry --version | |
- name: Build package | |
run: poetry build --ansi | |
- name: Install required twine packaging dependencies | |
run: pip install setuptools wheel twine | |
- name: Check twine package | |
run: twine check dist/* |