Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Update Semaphore configuration
  • Loading branch information
awolfden committed Jun 7, 2022
commit e45e714d9a69615136ea5bcd181855ae92ecedb5
23 changes: 23 additions & 0 deletions .semaphore/semaphore.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
version: v1.0
name: Initial Pipeline
agent:
machine:
type: e1-standard-2
os_image: ubuntu2004
blocks:
- name: Python Django Example Apps
task:
jobs:
- name: python lint
commands:
- sem-version python 3.8
- 'flake8 . --count --select=E9,F7,F82 --show-source --statistics'
- flake8 . --count --exit-zero --max-complexity=10 --statistics
prologue:
commands:
- checkout
- sem-version python 3.8
- python -m pip install --upgrade pip
- 'pip install -e .[dev]'
- pip install flake8
- pip install black