Feature/cit pipeline tutorial #1414
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 oktoberfest 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/setup-python@v5 | |
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/* |