Skip to content

Weekly Stability Test #84

Weekly Stability Test

Weekly Stability Test #84

Workflow file for this run

name: Weekly Stability Test
on:
workflow_dispatch: # run on request (no need for PR)
schedule:
# every 7PM on Sunday
- cron: "0 19 * * 0"
# This is what will cancel the workflow concurrency
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
defaults:
run:
shell: bash
jobs:
weekly_stability_test:
strategy:
fail-fast: false
matrix:
python-version: ['3.9', '3.10', '3.11']
extra: ['default', 'tf', 'tfds', 'torch']
include:
- python-version: "3.9"
tox-env-py: "39"
- python-version: "3.10"
tox-env-py: "310"
- python-version: "3.11"
tox-env-py: "311"
name: stability test (Python ${{ matrix.python-version }}, Extra ${{ matrix.extra }})
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Installing python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Installing dependencies
run: |
python -m pip install tox
- name: Stability testing
run: |
tox -e stability-${{ matrix.extra }}
- name: Upload test results
uses: actions/upload-artifact@v4
with:
name: stability-${{ matrix.python-version }}-${{ matrix.extra }}
path: .tox/stability-${{ matrix.extra }}/log
call-notify-to-teams:
needs: [weekly_stability_test]
if: |
always() &&
contains(needs.*.result, 'failure')
uses: ./.github/workflows/notify_teams.yml
secrets: inherit