Skip to content

Commit

Permalink
Merge pull request #9 from volfpeter/run-ci-on-pull-requests
Browse files Browse the repository at this point in the history
Run the tests and linters jobs on pull requests
  • Loading branch information
volfpeter authored Feb 6, 2024
2 parents b89c797 + 89fd074 commit 0ebd991
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
name: Build documentation

on:
push:
branches:
- main

permissions:
contents: write

jobs:
deploy:
runs-on: ubuntu-latest
Expand Down
11 changes: 10 additions & 1 deletion .github/workflows/linters.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
name: Linters
on: push

on:
push:
branches:
- main
pull_request:
types:
- opened
- synchronize

jobs:
Linters:
runs-on: ubuntu-latest
Expand Down
11 changes: 10 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
name: Tests
on: push

on:
push:
branches:
- main
pull_request:
types:
- opened
- synchronize

jobs:
Linters:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 0ebd991

Please sign in to comment.