Skip to content

Commit

Permalink
[fix] Run tests and flake during AWS deployment (#64)
Browse files Browse the repository at this point in the history
  • Loading branch information
juanitodread authored Feb 13, 2024
1 parent 45e73c5 commit a9c88d4
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/aws.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,15 @@ jobs:
if [ -f requirements.txt ]; then pip install -r requirements.txt -t .; fi
zip -r gorrion-telegram-bot.zip .
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
flake8 . --count --show-source --statistics
- name: Test with pytest
run: |
pytest -vv
- name: Deploy to AWS
uses: appleboy/lambda-action@v0.1.9
with:
Expand Down

0 comments on commit a9c88d4

Please sign in to comment.