Skip to content

Commit

Permalink
Merge pull request #915 from warren5236/Enable-GitHub-Actions-Squashed
Browse files Browse the repository at this point in the history
Switched to GitHub Actions
  • Loading branch information
iansltx committed May 24, 2023
2 parents 65df6ba + 7059474 commit d2f8cd5
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 17 deletions.
47 changes: 47 additions & 0 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: "Continuous Integration"

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

permissions:
contents: read

jobs:
build_sh:
name: "build.sh"

runs-on: ubuntu-latest

strategy:
matrix:
php-version:
- 7.4

steps:
- name: "Checkout"
uses: actions/checkout@v3

- name: "Install PHP with extensions"
uses: shivammathur/setup-php@master
with:
php-version: ${{ matrix.php-version }}
extensions: "gd, intl, json, mbstring, pdo"
coverage: "xdebug"

- name: "Cache dependencies installed with composer"
id: composer-cache
uses: actions/cache@v3
with:
path: vendor
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-php-
- name: "Install dependencies with composer"
run: composer install --prefer-dist --no-progress

- name: "Run Build Script"
run: sh ./build.sh
14 changes: 0 additions & 14 deletions .travis.yml

This file was deleted.

1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ This VM will load all three Joind.in projects (joind.in, joindin-vm and joindin-

* The main website https://joind.in
* Issues list: https://github.com/joindin/joindin-web2/issues/ (good bug reports ALWAYS welcome!)
* CI Environment: lots of output and information about tests, deploys etc: https://jenkins.joind.in
* Community: We hang out on Slack, pop in with questions or comments! You can join via [Joindin Slack](https://join.slack.com/t/joindin/shared_invite/enQtNzY2MTEzOTU3ODkwLTMzNTc3ZDFlNTAxMTc2ZjliYjAzNDExZTkzM2NmZDFjYjcyMjNkMWYzMjNhZjE4MzA1MTljZDk2NzNiMzk5MjU)

## Global .gitignore
Expand Down
2 changes: 0 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,4 @@ vendor/bin/phpcs \
-p \
.

php vendor/bin/security-checker security:check composer.lock

vendor/bin/phpunit -c ./phpunit.xml.dist

0 comments on commit d2f8cd5

Please sign in to comment.