New API Endpoints: Basics working. Thoughts & Help needed #618
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
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions | |
name: "Build package" | |
on: | |
push: | |
branches: ["master", "main"] | |
pull_request: | |
branches: ["master", "main"] | |
jobs: | |
build: | |
runs-on: "${{ matrix.os }}" | |
strategy: | |
matrix: | |
os: ["macos-latest", "ubuntu-latest", "windows-latest"] | |
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] | |
fail-fast: false | |
steps: | |
- name: "⤵️ Check out code from GitHub" | |
uses: "actions/checkout@v4" | |
- name: "🐍 Set up Python ${{ matrix.python-version }}" | |
uses: "actions/setup-python@v4" | |
with: | |
python-version: "${{ matrix.python-version }}" | |
- name: "⚙️ Install Poetry" | |
uses: "abatilo/[email protected]" | |
with: | |
poetry-version: 1.5.1 | |
- name: "⚙️ Install dependencies" | |
run: "poetry install" | |
- name: "🚀 Test package building" | |
run: "poetry build" |