Created
January 29, 2020 11:25
-
-
Save cosmic-cortex/80124a3e79233a9db4f7af22e4e2a5c5 to your computer and use it in GitHub Desktop.
Automated testing using GitHub actions
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
# 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