Skip to content

Commit

Permalink
Refactor GitHub Actions workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
AndPuQing committed Jan 28, 2024
1 parent b186e4a commit 72092d0
Showing 1 changed file with 0 additions and 29 deletions.
29 changes: 0 additions & 29 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,35 +3,6 @@ name: Testing bemore
on: [push, pull_request, workflow_dispatch]

jobs:
black:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
- run: |
pip install -U pip
pip install poetry
poetry install
env:
POETRY_VIRTUALENVS_CREATE: false
- name: Run black check
run: poetry run -C backend/app black --check .
flake8:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
- run: |
pip install -U pip
pip install poetry
poetry install
env:
POETRY_VIRTUALENVS_CREATE: false
- name: Run flake8 check
run: poetry run -C backend/app flake8 --count .

test:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 72092d0

Please sign in to comment.