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: |
${{ runner.os }}-php-${{ matrix.php-version }}-
- name: Run make
run: make
- name: Run tests with phpunit
run: ./run-tests.sh

10
.gitignore vendored
View File

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

View File

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