Skip to content

Instantly share code, notes, and snippets.

@raquelhortab
Last active May 2, 2024 05:35
Show Gist options
  • Save raquelhortab/72501705c16746396d8326c067adbf97 to your computer and use it in GitHub Desktop.
Save raquelhortab/72501705c16746396d8326c067adbf97 to your computer and use it in GitHub Desktop.
Main workflow for test automation with github actions
name: CI
# this will fire the action on any push to the master branch, you can modify the branch or adapt it to be fired on other events (eg. pull requests)
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
# checkin out is only necessary for private repos, but works with public ones as well
- uses: actions/checkout@master
name: Checkout
# path to the action
- uses: ./.github/actions/automatic-tests
name: Test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment