added the latest exported trait hierarchy #590
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 upload a Python Package using Twine when a release is created | |
# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries | |
name: Building Python Supporting Libraries | |
on: | |
push: | |
branches: [ master, develop ] | |
pull_request: | |
branches: [ master, develop ] | |
concurrency: | |
group: Building Python Supporting Libraries @ ${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
test-build-python: | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
python: [3.7, 3.8, 3.9] | |
poetry: [1.1.5] | |
# The type of runner that the job will run on | |
runs-on: ${{ matrix.os }} | |
# Steps represent a sequence of tasks that will be executed as part of the job | |
steps: | |
# Checks-out your repository under ${{ github.workspace }}, so your job can access it | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: '${{ matrix.python }}' | |
- uses: abatilo/[email protected] | |
with: | |
poetry-version: '${{ matrix.poetry }}' | |
# Runs a set of commands using the runners shell | |
- name: Generate lib | |
run: | | |
cd ${{ github.workspace }}/python-core | |
python -m pip install jinja2 networkx | |
python generate.py | |
- name: Build lib | |
run: | | |
cd ${{ github.workspace }}/python-core | |
poetry update | |
poetry install |