Skip to content

Commit 9759c58

Browse files
committed
Use GitHub actions for Continuous Integration tests
Note: apparently a running MySQL service is not needed to run our tests
1 parent f8ea8b7 commit 9759c58

File tree

2 files changed

+34
-49
lines changed

2 files changed

+34
-49
lines changed
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: "Continuous Integration"
2+
3+
on: [push]
4+
5+
env:
6+
fail-fast: true
7+
8+
jobs:
9+
tests:
10+
name: "Doctrine1 Tests"
11+
runs-on: "ubuntu-22.04"
12+
13+
strategy:
14+
matrix:
15+
php-version:
16+
- "7.4"
17+
- "8.0"
18+
- "8.1"
19+
20+
steps:
21+
- name: "Checkout"
22+
uses: "actions/checkout@v3"
23+
24+
- name: "Install PHP"
25+
uses: "shivammathur/setup-php@v2"
26+
with:
27+
php-version: "${{ matrix.php-version }}"
28+
# extensions: "${{ matrix.extension }}"
29+
30+
- name: "Install dependencies with Composer"
31+
uses: "ramsey/composer-install@v2"
32+
33+
- name: "Run Tests"
34+
run: "cd tests && php run.php"

.travis.yml

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

0 commit comments

Comments
 (0)