Skip to content

Commit 6d264fb

Browse files
authored
Merge pull request #8 from multitheftauto/ci/migrate-to-github-actions
ci: migrate to github actions
2 parents ee8ee4c + 234df4b commit 6d264fb

File tree

3 files changed

+27
-21
lines changed

3 files changed

+27
-21
lines changed

.github/workflows/php.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: PHP Composer
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
strategy:
13+
matrix:
14+
php-versions: ['7.1', '7.2', '7.3', '7.4']
15+
name: Build PHP version ${{ matrix.php-versions }}
16+
steps:
17+
- uses: actions/checkout@v2
18+
19+
- uses: shivammathur/setup-php@v2
20+
with:
21+
php-version: ${{ matrix.php-versions }}
22+
23+
- name: Install dependencies
24+
run: composer install --prefer-dist --no-progress --no-suggest
25+
26+
- name: Run test suite
27+
run: composer test

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# MTA:SA PHP SDK
2-
[![Build Status](https://dev.azure.com/multitheftauto/mtasa-php-sdk/_apis/build/status/multitheftauto.mtasa-php-sdk?branchName=master)](https://dev.azure.com/multitheftauto/mtasa-php-sdk/_build/latest?definitionId=1&branchName=master)
32

43
You can access the MTA Web Interface from almost any programming language that can request web pages. PHP can do this very easily.
54

azure-pipelines.yml

Lines changed: 0 additions & 20 deletions
This file was deleted.

0 commit comments

Comments
 (0)