-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #15 from keboola/ujovlado-github-actions-and-build…
…-fix Switch to Github Actions, Fix build, Remove Travis
- Loading branch information
Showing
7 changed files
with
56 additions
and
37 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,27 @@ | ||
name: Branch workflow | ||
|
||
env: | ||
GH_COMMIT_SHA: ${{ github.sha }} | ||
ERROR_NOTIFICATION_EMAIL: ${{ vars.ERROR_NOTIFICATION_EMAIL }} | ||
ORCHESTRATOR_API_TOKEN: ${{ secrets.ORCHESTRATOR_API_TOKEN }} | ||
ORCHESTRATOR_API_URL: "https://syrup.us-east-1.keboola-testing.com/orchestrator" | ||
|
||
on: | ||
push: | ||
branches: | ||
- "*" | ||
|
||
jobs: | ||
build-and-test: | ||
name: "Build and test" | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: "Checkout" | ||
uses: actions/checkout@v3 | ||
- name: "Build images" | ||
run: | | ||
echo $GH_COMMIT_SHA > REVISION | ||
docker network create orchestrator-router_api-tests | ||
docker-compose build tests | ||
- name: "Run phpunit" | ||
run: docker-compose run --rm tests ./vendor/bin/phpunit |
This file was deleted.
Oops, something went wrong.
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
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 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 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,3 @@ | ||
deb http://archive.debian.org/debian stretch main | ||
deb http://archive.debian.org/debian-security stretch/updates main | ||
deb http://archive.debian.org/debian stretch-backports main |