Merge pull request #44 from canonical/improve-workflow #28
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: On Push | |
# On push to a "special" branch, we: | |
# * always publish to charmhub at latest/edge/branchname | |
# * always run tests | |
# where a "special" branch is one of main or track/**, as | |
# by convention these branches are the source for a corresponding | |
# charmhub edge channel. | |
on: | |
push: | |
branches: | |
- main | |
- track/** | |
jobs: | |
tests: | |
name: Run Tests | |
uses: ./.github/workflows/tests.yaml | |
secrets: inherit |