Attempt to fix CI

This commit is contained in:
Simon Wisselink
2023-01-24 13:59:17 +01:00
parent b798362871
commit 344b3e3a31
3 changed files with 8 additions and 17 deletions

View File

@@ -77,5 +77,8 @@ jobs:
restore-keys: | restore-keys: |
${{ runner.os }}-php-${{ matrix.php-version }}- ${{ runner.os }}-php-${{ matrix.php-version }}-
- name: Run make
run: make
- name: Run tests with phpunit - name: Run tests with phpunit
run: ./run-tests.sh run: ./run-tests.sh

10
.gitignore vendored
View File

@@ -1,16 +1,10 @@
.idea/ .idea/
# Smarty
lexer/*.php
lexer/*.php.bak
lexer/*.out
# Dev
phpunit* phpunit*
.phpunit.result.cache .phpunit.result.cache
vendor/* /vendor/*
composer.lock /composer.lock
/src/Lexer/ConfigfileLexer.php /src/Lexer/ConfigfileLexer.php
/src/Lexer/TemplateLexer.php /src/Lexer/TemplateLexer.php
/src/Parser/ConfigfileParser.php /src/Parser/ConfigfileParser.php

View File

@@ -43,17 +43,11 @@
}, },
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-master": "4.0.x-dev" "dev-master": "5.0.x-dev"
} }
}, },
"require-dev": { "require-dev": {
"phpunit/phpunit": "^8.5 || ^7.5", "phpunit/phpunit": "^8.5 || ^7.5",
"smarty/smarty-lexer": "@dev" "smarty/smarty-lexer": "^4.0"
},
"repositories": [
{
"type": "path",
"url": "../smarty-lexer/"
} }
]
} }