Tooling: CI, coding standards, PHPStan and local Docker

Đang mở
#19 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
css, docker, github-actions, javascript, php, wordpress

Hướng nghiên cứu

Start at the repository root to see which tooling files already exist, then find the video-link parsing code so the unit tests have a target. The issue names the files to add: ci.yml, composer.json, phpcs.xml.dist, phpstan.neon.dist, phpunit.xml.dist, package.json, and a Docker setup. Done when the CI jobs listed in the issue run green and the video-link parsing tests pass locally.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

enhancement

Now: no CI; coding standards are checked by hand.

Expected: the standard's tooling, adapted to StackFolio:

  • ci.yml: PHP syntax and unit tests on every supported PHP, PHPCS (WordPress standard, stackfolio text domain and prefixes), PHPStan, JS/CSS lint and WordPress Plugin Check on the shipped zip.
  • No block-build, integration-test or rename-script jobs, since StackFolio's block is plain JS and the plugin has no integration tests yet.
  • composer.json, phpcs.xml.dist, phpstan.neon.dist, phpunit.xml.dist, package.json, unit tests for video-link parsing, and the local Docker setup.
Ngôn ngữ chính
PHP
Star
0
Fork
0
Merge trung bình
2 phút
Pull request đã merge (30 ngày)
1

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của wpgenius/stackfolio

Tất cả issue của wpgenius/stackfolio

Issue tương tự

Thêm issue về PHP

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.