Skip to content

Commit

Permalink
feat: add separate jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristinaMoore committed Dec 8, 2023
1 parent 5a475bc commit 182c30a
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/hello_world.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
name: Hello World
name: Flake Eight

on: [push]

jobs:
hello:
install-deps:
runs-on: ubuntu-latest
steps:
- name: Greeting
run: echo "Hello great big World!"

- name: Checkout repository
uses: actions/checkout@v2

Expand All @@ -25,8 +22,16 @@ jobs:
- name: Install flake8
run: pip install flake8

linting:
runs-on: ubuntu-latest
needs: install-deps
steps:
- name: Run flake8
run: flake8 src/ tests/

tests:
runs-on: ubuntu-latest
needs: install-deps
steps:
- name: Run tests
run: pytest tests/

0 comments on commit 182c30a

Please sign in to comment.