mirror of
https://github.com/parsecsv/parsecsv-for-php.git
synced 2026-02-19 00:36:38 +00:00
docs: remove Travis from README; make running act locally easier
This commit is contained in:
10
Makefile
10
Makefile
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user