Skip to content

Commit

Permalink
Turn on the automatic CI/CD on the master branch on every push
Browse files Browse the repository at this point in the history
  • Loading branch information
xapple committed Jul 16, 2021
1 parent 3404b57 commit 4c783e3
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/pytest_master_branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,20 @@ name: Pytest master branch
# branch, after having installed the package with pip.
# It will run on the latest Ubuntu and on the latest python.

on: workflow_dispatch
on:
# Trigger the workflow on push or pull request,
# but only for the main branch
push:
branches:
- main
pull_request:
branches:
- main
# Also trigger on page_build, as well as release created events
page_build:
release:
types: # This configuration does not affect the page_build event above
- created

jobs:
build:
Expand Down

0 comments on commit 4c783e3

Please sign in to comment.