-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (38 loc) · 969 Bytes
/
pipeline.yml
File metadata and controls
45 lines (38 loc) · 969 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
name: BTC Tests
on:
workflow_dispatch:
pull_request:
push:
permissions:
contents: write
actions: read
checks: write
jobs:
btc-tests:
name: Test execution
runs-on: self-hosted
if: ${{
contains(github.event.head_commit.message, '#ci') ||
github.event_name == 'workflow_dispatch' ||
github.event_name == 'pull_request'
}}
steps:
- name: Checkout files
uses: actions/checkout@v4
- name: Run tests
shell: powershell
run: |
python scripts/run_tests.py
- name: Publish test results to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: reports
- name: Publish results
uses: dorny/test-reporter@v1
if: success() || failure()
with:
name: Test results
path: test_results.xml
reporter: jest-junit
only-summary: 'false'