update _worker test #505
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
# This workflow will check flake style | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions | |
name: style_check | |
on: [push, pull_request] | |
jobs: | |
style_check: | |
# Skip CI if [ci skip] in the commit message | |
if: "! contains(toJSON(github.event.commits.*.message), '[ci skip]')" | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: [3.8] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: install test packages | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install "ruff" | |
- name: Lint with ruff | |
run: | | |
make lint |