Skip to content

Commit

Permalink
Merge pull request #78 from amosproj/feat/cicd-formatting-warning
Browse files Browse the repository at this point in the history
cicd formatting warning
  • Loading branch information
borges-filipe authored May 28, 2024
2 parents 6ddb3e7 + 129d811 commit a33727f
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/backend-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,20 @@ jobs:
with:
path: main

# Install python
# Install python
- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: 3.11

- name: Install dependencies
run:
run: |
pip install -r codebase/requirements.txt
pip install black
- name: Run linting
run: |
black --check . || echo "::warning::Code formatting issues found. Please run black to format your code."
- name: Run tests
run: bash scripts/test.sh

0 comments on commit a33727f

Please sign in to comment.