Skip to content

Commit

Permalink
run linting and testing only once in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
rlouf committed Feb 23, 2021
1 parent d08a159 commit f8f3e6b
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
name: Check formatting

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

jobs:
lint:
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
name: Run tests

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

jobs:
test:
Expand Down

0 comments on commit f8f3e6b

Please sign in to comment.