Commit 37a70cbe authored by one's avatar one
Browse files

Update ci workflows

parent 2bf01d5e
......@@ -5,10 +5,12 @@ on:
branches:
- main
- release/*
- dtk
pull_request:
branches:
- main
- release/*
- dtk
schedule:
- cron: "30 1 * * 1"
......
......@@ -5,6 +5,7 @@ on:
branches:
- main
- release/*
- dtk
jobs:
spelling:
......
name: Python Checks
on:
push:
branches:
- dtk
pull_request:
branches:
- dtk
workflow_dispatch:
jobs:
checks:
name: Python format, lint, and unit test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -e .[test]
- name: Check formatting
run: |
python -m yapf --diff --recursive superbench tests
- name: Lint
run: |
python -m flake8 superbench tests
python -m mypy superbench tests
- name: Run runner unit tests
run: |
python -m pytest tests/runner/test_runner.py -v
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment