mirror of
https://github.com/abapGit/abapGit.git
synced 2025-05-03 21:37:26 +08:00

* wip, update npm packages * upd * run simple_test * run array_test * run visit_types * run empty_filter_simple * run empty_filter_deep * run path_filter * run path_filter_deep * run and_filter * transpile zcl_abapgit_data_injector * upd * transpile extra files * transpile zif_abapgit_data_deserializer * two extra interfaces * compile enum providers * and zcl_abapgit_proxy_auth * compile repo listener * zcl_abapgit_repo_filter * update note * run coverage * and upload * refactor action
43 lines
1.1 KiB
YAML
43 lines
1.1 KiB
YAML
name: test
|
|
|
|
on:
|
|
push:
|
|
pull_request:
|
|
|
|
jobs:
|
|
unit:
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 5
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: actions/setup-node@v2
|
|
- name: npm run unit
|
|
run: |
|
|
npm install
|
|
npm run unit
|
|
- name: npm run coverage
|
|
run: |
|
|
npm run coverage
|
|
- name: Update coverage.abapgit.org
|
|
uses: peaceiris/actions-gh-pages@v3
|
|
if: github.ref == 'refs/heads/main' && github.repository == 'abapGit/abapGit'
|
|
with:
|
|
deploy_key: ${{ secrets.COVERAGE_DEPLOY_KEY }}
|
|
external_repository: abapGit/coverage.abapgit.org
|
|
user_name: 'github-actions[bot]'
|
|
user_email: 'github-actions[bot]@users.noreply.github.com'
|
|
publish_branch: main
|
|
cname: coverage.abapgit.org
|
|
force_orphan: true
|
|
publish_dir: ./coverage
|
|
integration:
|
|
needs: unit
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 5
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: actions/setup-node@v2
|
|
- name: npm run integration
|
|
run: |
|
|
npm install
|
|
npm run integration |