File tree Expand file tree Collapse file tree 4 files changed +58
-24
lines changed Expand file tree Collapse file tree 4 files changed +58
-24
lines changed Original file line number Diff line number Diff line change 1
1
/.gitattributes export-ignore
2
+ /.github / export-ignore
2
3
/.gitignore export-ignore
3
- /.travis.yml export-ignore
4
4
/Doxyfile export-ignore
5
5
/phpunit.xml export-ignore
6
6
/tests export-ignore
Original file line number Diff line number Diff line change
1
+ # https://help.github.com/en/categories/automating-your-workflow-with-github-actions
2
+
3
+ on :
4
+ pull_request :
5
+ push :
6
+ schedule :
7
+ - cron : ' 3 3 * * 1'
8
+
9
+ name : CI
10
+
11
+ jobs :
12
+ unit-tests :
13
+ name : Unit tests
14
+
15
+ runs-on : ubuntu-20.04
16
+
17
+ strategy :
18
+ fail-fast : false
19
+ matrix :
20
+ php-version :
21
+ - 5.3
22
+ - 5.4
23
+ - 5.5
24
+ - 5.6
25
+ - 7.0
26
+ - 7.1
27
+ - 7.2
28
+ - 7.3
29
+ - 7.4
30
+
31
+ steps :
32
+ - name : Checkout
33
+ uses : actions/checkout@v2
34
+
35
+ - name : Install PHP
36
+ uses : shivammathur/setup-php@v2
37
+ with :
38
+ php-version : ${{ matrix.php-version }}
39
+ tools : composer:v2
40
+ coverage : none
41
+
42
+ - name : Cache dependencies installed with composer
43
+ uses : actions/cache@v1
44
+ with :
45
+ path : ~/.cache/composer
46
+ key : php${{ matrix.php-version }}-composer-${{ hashFiles('**/composer.lock') }}
47
+ restore-keys : |
48
+ php${{ matrix.php-version }}-composer-
49
+
50
+ - name : Install Composer dependencies
51
+ run : |
52
+ composer update --with-dependencies --no-progress;
53
+ composer show;
54
+
55
+ - name : Run Tests
56
+ run : ./vendor/bin/phpunit
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
PHP CSS Parser
2
2
--------------
3
3
4
- [ ![ build status ] ( https://api.travis-ci.org /sabberworm/PHP-CSS-Parser.svg )] ( https://travis-ci.org /sabberworm/PHP-CSS-Parser )
4
+ [ ![ Build Status ] ( https://github.com /sabberworm/PHP-CSS-Parser/workflows/CI/badge .svg?branch=master )] ( https://github.com /sabberworm/PHP-CSS-Parser/actions/ )
5
5
6
6
A Parser for CSS Files written in PHP. Allows extraction of CSS files into a data structure, manipulation of said structure and output as (optimized) CSS.
7
7
You can’t perform that action at this time.
0 commit comments