Update README.md #2
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: Run Tests | |
on: | |
# Triggers the workflow on push or pull request events but only for the "main" branch | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
create-service-json: | |
uses: ./.github/workflows/create-service-json.yml | |
secrets: inherit | |
run-tests: | |
uses: ./.github/workflows/run-tests.yml | |
needs: create-service-json | |
secrets: inherit | |
# It allow to remove artifacts created to use between workflows (google service json, bundles, etc) | |
remove-artifacts: | |
uses: ./.github/workflows/clean-up-artifacts.yml | |
needs: run-tests | |
# Run this job even if "needs" job is failed | |
if: success() || failure() | |
secrets: inherit |