Push Tracker
ria-toolkit-oss/.riahub/workflows/build-project.yaml
A ashley-towns 244cc7d849
All checks were successful
Build Sphinx Docs Set / Build Docs (pull_request) Successful in 22s
Build Project / Build Project (3.10) (pull_request) Successful in 1m4s
Build Project / Build Project (3.11) (pull_request) Successful in 56s
Build Project / Build Project (3.12) (pull_request) Successful in 57s
Build Project / Build Project (3.14) (pull_request) Successful in 1m19s
Test with tox / Test with tox (3.11) (pull_request) Successful in 6m43s
Test with tox / Test with tox (3.10) (pull_request) Successful in 17m23s
Test with tox / Test with tox (3.12) (pull_request) Successful in 11m29s
Test with tox / Test with tox (3.14) (pull_request) Successful in 1m50s
Add Ubuntu 26 and Python 3.14 support
2026-07-27 19:51:36 -04:00

51 lines
1.2 KiB
YAML

name: Build Project
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
project-build-check:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ '3.10', '3.11', '3.12', '3.14' ]
name: Build Project
steps:
- name: Check out project
uses: actions/checkout@v4
- name: Build project
run: |
poetry build
- name: Set up Python environment
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Create Python virtual environment
run: |
python -m venv .venv
- name: Install project in virtual environment
run: |
source .venv/bin/activate
pip install dist/*.whl
# In the following step, 'pip list' prints out a list of installed dependencies. This is not required for the
# build but useful for debugging.
- name: Check dependency installation
run: |
source .venv/bin/activate
pip check
pip list
- name: Very project import
run: |
source .venv/bin/activate
python -c "import ria_toolkit_oss"