-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (38 loc) · 1.09 KB
/
test-windows.yml
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: test-windows
run-name: Testeando en Windows
on:
workflow_run:
workflows: [build-windows]
types: [completed]
jobs:
test:
runs-on: windows-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- name: Set pending status
uses: myrotvorets/[email protected]
with:
status: pending
sha: ${{ github.event.workflow_run.head_sha }}
- name: Checkout
uses: actions/checkout@v4
- name: Restore binary
uses: actions/cache/restore@v4
with:
path: aleph.exe
key: aleph-${{ hashFiles('src/**/*.[chyl]', 'Makefile') }}
fail-on-cache-miss: true
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '>=3.10'
- name: Run tests
run: python test/test.py >> $env:GITHUB_STEP_SUMMARY
env:
PYTHONUTF8: 1
- name: Set result status
uses: myrotvorets/[email protected]
if: always()
with:
status: ${{ job.status }}
sha: ${{ github.event.workflow_run.head_sha }}