Skip to content

feat: add execution duration as a information field in Job and Submission entities #3616

feat: add execution duration as a information field in Job and Submission entities

feat: add execution duration as a information field in Job and Submission entities #3616

Workflow file for this run

name: Test package installation
on:
push:
branches: [ develop, dev/*, release/* ]
pull_request:
branches: [ develop, dev/*, release/* ]
workflow_dispatch:
inputs:
user-to-notify:
description: "Github username to notify"
required: false
default: ""
env:
NODE_OPTIONS: --max-old-space-size=4096
jobs:
standard-packages:
timeout-minutes: 30
strategy:
matrix:
python-versions: [ '3.8', '3.9', '3.10', '3.11', '3.12' ]
os: [ubuntu-latest, macos-13, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-versions }}
- name: Build frontends
run: |
python tools/frontend/bundle_build.py
- name: Install Taipy without dependencies
run: |
pip install .
- name: Remove local folder
run: rm -r taipy
- name: Check Taipy Installation
run: |
python tools/validate_taipy_install.py
- name: Notify user if failed
if: failure()
run: |
if [[ -n "${{ github.event.inputs.user-to-notify }}" ]]; then
curl "${{ secrets.notify_endpoint }}" -d '{"username": "${{ github.event.inputs.user-to-notify }}", "url": "${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}" }' -H "Content-Type: application/json"
fi
shell: bash