Skip to content

Functioal Test

Functioal Test #102

Workflow file for this run

name: Functioal Test
on:
schedule:
# every UTC 7PM from Mon to Fri
- cron: "0 19 * * 1-5"
workflow_dispatch: # run on request (no need for PR)
# Declare default permissions as read only.
permissions: read-all
jobs:
Sanity-Checks:
uses: ./.github/workflows/pre_merge.yml
Functional-Test:
runs-on: ubuntu-22.04
needs: Sanity-Checks
timeout-minutes: 600
# This is what will cancel the job concurrency
concurrency:
group: ${{ github.workflow }}-Functional-${{ github.ref }}
cancel-in-progress: true
steps:
- name: Checkout repository
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Install Python
uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0
with:
python-version: "3.10"
- name: Install tox
run: python -m pip install tox==4.4.6
- name: Run Functional Test
run: tox -vv -e dev-py310 -- -v tests/func --csv=.tox/dev-py310/func-test.csv -n 1 --max-worker-restart 100 --clear-cache
- name: Upload artifacts
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
with:
name: func-test-results
path: .tox/dev-py310/*.csv
# Use always() to always run this step to publish test results when there are test failures
if: ${{ always() }}