Skip to content

Instantly share code, notes, and snippets.

@cosmic-cortex
Created January 29, 2020 11:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cosmic-cortex/80124a3e79233a9db4f7af22e4e2a5c5 to your computer and use it in GitHub Desktop.
Save cosmic-cortex/80124a3e79233a9db4f7af22e4e2a5c5 to your computer and use it in GitHub Desktop.
Automated testing using GitHub actions
# This GitHub action describes the continuous integration workflow for pull requests to master.
name: ci
on:
pull_request:
branches:
- master
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checking out the repository
uses: actions/checkout@v1
- name: Build the Docker image and run the tests
run: docker-compose -f docker-compose.test.yaml up --abort-on-container-exit --exit-code-from fastapi-ml-quickstart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment