Add question editing feature to /ask service then add answer editing feature to tasks 5, 6, 7 #242
Workflow file for this run
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
# .github/workflows/**main.yml** | |
name: Test flake8 and isort workflow | |
on: [pull_request] | |
jobs: | |
setup: | |
runs-on: ubuntu-latest | |
steps: | |
- | |
name: Check out the repo | |
uses: actions/checkout@v3 | |
- | |
name: Setup Poetry | |
uses: Gr1N/setup-poetry@v8 | |
with: | |
poetry-version: "1.5.1" | |
- | |
name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.11" | |
- | |
name: Install dependencies | |
run: | | |
poetry install | |
- | |
name: Test with flake8 | |
run: | | |
poetry run flake8 . | |
- | |
name: Test with isort | |
run: | | |
poetry run isort . --check --diff |