Skip to content

Commit

Permalink
Update python-app.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
president-xd authored Aug 20, 2024
1 parent ad0bcdd commit f0a5ed9
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
@@ -1,29 +1,31 @@
name: Python application
name: Python CI

on: [push, pull_request]
on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Check out code
- name: Checkout code
uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
python-version: '3.8'

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r Cryptix/requirements.txt
pip install flake8
- name: Lint with flake8
- name: Lint code
run: |
flake8
- name: Test with pytest
run: |
pytest
flake8 . --ignore=E501,E302,E303,E203,E741,E275,E225,W605,F401

0 comments on commit f0a5ed9

Please sign in to comment.