Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • A administrate
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 96
    • Issues 96
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 32
    • Merge requests 32
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • thoughtbot, inc.
  • administrate
  • Repository
Switch branch/tag
  • administrate
  • .github
  • workflows
  • main.yml
Find file BlameHistoryPermalink
  • Nick Charlton's avatar
    Start testing on GitHub Actions · a45faa96
    Nick Charlton authored Mar 06, 2021
    This is the closest absolute conversation from the original CircleCI 2.0
    version as possible. Main differences:
    
    * Actions' Postgres container requires a password or otherwise doesn't
      start (see SO answer),
    * Ports are explicitly exported,
    * Actions has a stronger, built-in approach to service health,
    * Using the "global" environment variables stops us having to repeat the
      Postgres config multiple times,
    
    https://docs.github.com/en/actions/guides/building-and-testing-ruby
    https://docs.github.com/en/actions/guides/creating-postgresql-service-containers
    https://docs.github.com/en/actions/reference/environment-variables#about-environment-variables
    https://docs.github.com/en/actions/guides/creating-redis-service-containers#running-jobs-directly-on-the-runner-machine
    https://stackoverflow.com/a/60618750/83386
    https://www.postgresql.org/docs/9.5/libpq-envars.html
    a45faa96