docs: remove Travis from README; make running act locally easier

This commit is contained in:
Fonata
2021-11-07 13:34:13 +01:00
committed by Fonata
parent 5d4643b201
commit f2b0aecd12
2 changed files with 16 additions and 2 deletions

View File

@@ -15,6 +15,16 @@ phpunit-dep:
# - Docker: https://docker.com
# - act: https://github.com/nektos/act
local-ci:
ifeq (, $(shell which act))
define ACT_ERROR
Consider running the following to install 'act':
curl https://raw.githubusercontent.com/nektos/act/master/install.sh | sudo bash
The dependency 'act' was not found
endef
$(error ${ACT_ERROR})
endif
act -P ubuntu-latest=shivammathur/node:latest -W .github/workflows/ci.yml
.SILENT:

View File

@@ -165,8 +165,12 @@ composer install
composer run test
````
When pushing code to GitHub, tests will be executed using Travis CI. The relevant configuration is in the
file `.travis.yml`.
When pushing code to GitHub, tests will be executed using GitHub Actions. The relevant configuration is in the
file `.github/workflows/ci.yml`. To run the `test` action locally, you can execute the following command:
````bash
make local-ci
````
## Security