Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderDokuchaev committed Oct 2, 2024
1 parent 62c862b commit 205d44d
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,23 @@ permissions: read-all
on:
workflow_dispatch:
pull_request:
# schedule:
# - cron: '0 0 * * *'
types:
- opened
- reopened
- synchronize
- edited
schedule:
- cron: '0 0 * * *'

jobs:
examples-cpu:
runs-on: ubuntu-20.04-16-cores
defaults:
run:
shell: bash
if: |
github.event_name == 'schedule' ||
(github.event_name == 'pull_request' && contains(github.event.pull_request.body, '- [x] test examples'))
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
Expand All @@ -30,6 +38,6 @@ jobs:
- name: Print installed modules
run: pip list
- name: Run examples test scope
run: python -m pytest -ra tests/cross_fw/examples -m "not cuda" -s
run: python -m pytest -ra tests/cross_fw/examples -s -k post_training_quantization_torch_mobilenet_v2
env:
TQDM_DISABLE: 1

0 comments on commit 205d44d

Please sign in to comment.