All Projects → anapaulagomes → from-travis-to-github-actions

anapaulagomes / from-travis-to-github-actions

Licence: other
👨🏻‍🔧 ➡ 🤖

Projects that are alternatives of or similar to from-travis-to-github-actions

CI-Utils
Utilities for running Common Lisp on CI platforms
Stars: ✭ 18 (-63.27%)
Mutual labels:  travis-ci, github-actions
googletest-ci
Continuous integration (CI) + Google Test (gtest) + CMake example boilerplate demo
Stars: ✭ 14 (-71.43%)
Mutual labels:  travis-ci, github-actions
drupal9ci
One-line installers for implementing Continuous Integration in Drupal 9
Stars: ✭ 137 (+179.59%)
Mutual labels:  travis-ci, github-actions
nest-boilerplate
Nest.js boilerplate with CircleCI, Commitizen, Commitlint, Docker-Compose, ESLint, GitHub Actions, Husky, Lint-staged, OpenAPI, Prettier, PostGreSQL, Travis CI, TypeORM
Stars: ✭ 16 (-67.35%)
Mutual labels:  travis-ci, github-actions
cibuildwheel
🎡 Build Python wheels for all the platforms on CI with minimal configuration.
Stars: ✭ 1,350 (+2655.1%)
Mutual labels:  travis-ci, github-actions
ci-skip
CI skip comment
Stars: ✭ 35 (-28.57%)
Mutual labels:  travis-ci, github-actions
travis-ci-latex-pdf
Overview of different methods to build LaTeX with GitHub Actions or Travis-CI (idea by @jackolney but completely rewritten by @PHPirates and contributors).
Stars: ✭ 113 (+130.61%)
Mutual labels:  travis-ci, github-actions
noise-php
A starter-kit for your PHP project.
Stars: ✭ 52 (+6.12%)
Mutual labels:  travis-ci, github-actions
AndroidFastlaneCICD
📱A sample repository to demonstrate the Automate publishing🚀 app to the Google Play Store with GitHub Actions⚡+ Fastlane🏃.
Stars: ✭ 82 (+67.35%)
Mutual labels:  github-actions
github-notion-star
No description or website provided.
Stars: ✭ 82 (+67.35%)
Mutual labels:  github-actions
action-cats
A quick Github action which posts a cat gif on your PRs to reward you for pushing code!
Stars: ✭ 64 (+30.61%)
Mutual labels:  github-actions
codacy-analysis-cli-action
GitHub Action for the codacy-analysis-cli
Stars: ✭ 42 (-14.29%)
Mutual labels:  github-actions
ts-nextjs-tailwind-starter
🔋 Next.js + Tailwind CSS + TypeScript starter packed with useful development features
Stars: ✭ 880 (+1695.92%)
Mutual labels:  github-actions
release-downloader
Github action to download release assets from private or public repositories
Stars: ✭ 33 (-32.65%)
Mutual labels:  github-actions
action-rubocop
Run rubocop with reviewdog 🐶
Stars: ✭ 83 (+69.39%)
Mutual labels:  github-actions
hugo-action
Commands to help with building Hugo based static sites
Stars: ✭ 65 (+32.65%)
Mutual labels:  github-actions
components-nightly
⚙️ GitHub Action for searching nightly component availability
Stars: ✭ 21 (-57.14%)
Mutual labels:  github-actions
archlinux
Archlinux docker image from scratch (built daily by travis cronjob)
Stars: ✭ 79 (+61.22%)
Mutual labels:  travis-ci
ssh2actions
Connect to GitHub Actions VM via SSH for interactive debugging
Stars: ✭ 62 (+26.53%)
Mutual labels:  github-actions
wiki-page-creator-action
Create a GitHub wiki page based on the provided markdown file
Stars: ✭ 71 (+44.9%)
Mutual labels:  github-actions

Moving from Travis to Github Actions

An attempt to create an "from/to" document and help people move from Travis to Github Actions.

Table Content

Travis to Github Actions Cookbook

Installing dependencies

Travis

install:
- pip install --upgrade pip pipenv
- pipenv sync --dev

Github Actions

jobs:
    build:
    steps:
    - name: Install dependencies
      run: |
        pip install --upgrade pip pipenv
        pipenv sync --dev

Specifying language and version

Travis

language: python
python:
- '3.6.8'

Github Actions

jobs:
    build:
    steps:
    - name: Set up Python 3.6.9
      uses: actions/setup-python@v1
      with:
        python-version: 3.6.9

Running specific branches

Travis

branches:
  only:
  - master

Github Actions

on:
  pull_request:
    branches:
    - master

Dist

Travis

dist: xenial

Github Actions

jobs:
    build:
        runs-on: ubuntu-latest

It's possible to test your library across a matrix of operating systems and runtime versions using matrix strategy on Github Actions.

Global environment variables

Not supported by GitHub Actions yet (see the discussion here).

A hack to make them global.

Services

Travis

services:
- redis-server

Github Actions

jobs:
    services:
        redis:
            image: redis
            ports:
            - 6379:6379

Interesting stuff

Contributing

Open your Pull Request using the following format:

Title

Travis

# Travis' sintaxe

Github Actions

# Github Actions' sintaxe
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].