Nightly-Regression Tests #306
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
name: Nightly-Regression Tests | |
on: | |
workflow_dispatch: # run on request (no need for PR) | |
schedule: | |
- cron: "0 0 * * *" | |
jobs: | |
Tox: | |
runs-on: [self-hosted, linux, x64, anomalib] | |
strategy: | |
max-parallel: 1 | |
if: github.ref == 'refs/heads/main' | |
steps: | |
- name: CHECKOUT REPOSITORY | |
uses: actions/checkout@v2 | |
- name: Install Tox | |
run: pip install tox | |
- name: Coverage | |
run: tox -e nightly | |
- name: Upload coverage result | |
uses: actions/upload-artifact@v2 | |
with: | |
name: coverage | |
path: .tox/coverage.xml |