forked from Kong/docs.konghq.com
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use Github Actions instead of Travis CI (Kong#1735)
* feat: create build and test github action workflow * fix(workflow) set COMPOSE_INTERACTIVE_NO_CLI = 1 Should fix the error `the input device is not a TTY` as documented here docker/compose#5696 (comment) * fix(workspace) remove previous edit Going to try using `-T` on the actual docker compose command. * fix(makefile) use -T on docker-compose exec * feat: remove Travis CI config
- Loading branch information
Showing
3 changed files
with
21 additions
and
18 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
name: Build and Test | ||
on: [push] | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Clean environment and files | ||
run: make clean | ||
- name: Build docker-compose stack | ||
run: docker-compose build | ||
- name: Create dist folder | ||
run: mkdir dist | ||
- name: Set permissions | ||
run: sudo chmod -R 777 . | ||
- name: Run tests | ||
run: make docker-test | ||
- name: Check links | ||
run: make check-links |
This file was deleted.
Oops, something went wrong.
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