Release/0.7.0 #775
Workflow file for this run
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 spectrum_fundamentals 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.9", "3.10"] | |
steps: | |
- uses: actions/checkout@v4 | |
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/* |