-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change CI from Travis to GitHub Actions
- Loading branch information
Jiří Novák
committed
Jul 30, 2024
1 parent
a8b9356
commit 978453a
Showing
3 changed files
with
27 additions
and
13 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,23 @@ | ||
name: 'GitHub Actions' | ||
'on': | ||
- push | ||
|
||
env: | ||
APP_IMAGE: php-jsonparser | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- | ||
name: 'Check out the repo' | ||
uses: actions/checkout@v2 | ||
- | ||
name: 'Print Docker version' | ||
run: 'docker -v' | ||
- | ||
name: 'Build image' | ||
run: 'docker build -t $APP_IMAGE .' | ||
- | ||
name: 'Run tests' | ||
run: 'docker run $APP_IMAGE composer ci' |
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