Skip to content

Commit

Permalink
Update and rename first.yml to Pipeline.yml
Browse files Browse the repository at this point in the history
Add linting and unit tests
  • Loading branch information
TomPughe authored Jun 18, 2024
1 parent 6d858b9 commit 9c118a4
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 21 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/Pipeline.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Pipeline

on: [push]
env:
APPLICATION_NAME: app2
jobs:
lint:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v1
- name: Setup Python environment
uses: actions/[email protected]
- name: Install requirements
run: pip install --quiet --requirement requirements.txt
- name: Lint code
run: |
flake8 --ignore=E501,E231 *.py
pylint --disable=C0301 --disable=C0326 *.py
- name: Run unit tests
run: |
python -m unittest --verbose --failfast
21 changes: 0 additions & 21 deletions .github/workflows/first.yml

This file was deleted.

0 comments on commit 9c118a4

Please sign in to comment.