Optimize for resource usage and integration tests on GitHub runners #50
Workflow file for this run
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 Pull Request | |
# On pull_request, we: | |
# * always publish to charmhub at latest/edge/branchname | |
# * always run tests | |
on: | |
pull_request: | |
jobs: | |
tests: | |
name: Run Tests | |
uses: ./.github/workflows/integrate.yaml | |
secrets: inherit | |
# publish runs in parallel with tests, as we always publish in this situation | |
publish-charm: | |
name: Publish Charm | |
uses: ./.github/workflows/publish.yaml | |
secrets: inherit |