OneBot: Leantime 改造版源码(BOM/Univer 表格/AI 接管/品牌替换等)
This commit is contained in:
30
.github/workflows/unittests.yml
vendored
Normal file
30
.github/workflows/unittests.yml
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
name: Unit Tests
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches: [ "master", "*.*-dev" ]
|
||||
pull_request:
|
||||
branches: [ "master", "*.*-dev" ]
|
||||
|
||||
jobs:
|
||||
unit:
|
||||
runs-on: ubuntu-24.04
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Setup PHP
|
||||
uses: shivammathur/setup-php@v2
|
||||
with:
|
||||
php-version: '8.3'
|
||||
extensions: redis, gd, ldap, mbstring, pdo_mysql, zip, bcmath, exif, pcntl
|
||||
|
||||
- name: Run Unit Tests
|
||||
run: make unit-test
|
||||
|
||||
- name: Store screenshots
|
||||
uses: actions/upload-artifact@v4
|
||||
if: failure()
|
||||
with:
|
||||
name: unit-test
|
||||
path: tests/_output
|
||||
Reference in New Issue
Block a user