Skip to content

Nightly Build

Nightly Build #618

name: Nightly Build
on:
schedule:
- cron: '0 16 * * *'
workflow_dispatch:
inputs:
debug_enabled:
type: boolean
description: 'Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)'
required: false
default: false
jobs:
build-and-test:
strategy:
matrix:
python_version: ['3.7', '3.8', '3.9']
uses: ./.github/workflows/build-and-test.yaml
# Don't do this in forks unless manually triggered
if: github.repository == 'alibaba/feathub' || github.event_name == 'workflow_dispatch'
with:
debug_enabled: ${{ inputs.debug_enabled || false }}
python_version: ${{ matrix.python_version }}
build-and-upload-wheel:
uses: ./.github/workflows/build-and-upload-wheel.yaml
# Don't do this in forks unless manually triggered
if: github.repository == 'alibaba/feathub' || github.event_name == 'workflow_dispatch'
with:
debug_enabled: ${{ inputs.debug_enabled || false }}
is_nightly: true
needs: build-and-test
run-e2e-examples:
strategy:
matrix:
python_version: [ '3.7', '3.8', '3.9']
uses: ./.github/workflows/run-e2e-examples.yaml
# Don't do this in forks unless manually triggered
if: github.repository == 'alibaba/feathub' || github.event_name == 'workflow_dispatch'
with:
debug_enabled: ${{ inputs.debug_enabled || false }}
python_version: ${{ matrix.python_version }}
needs: build-and-upload-wheel
publish-wheel:
uses: ./.github/workflows/publish-wheel.yaml
if: github.repository == 'alibaba/feathub' # Don't do this in forks
secrets: inherit
needs: run-e2e-examples