forked from kevoreilly/CAPEv2
-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (35 loc) · 949 Bytes
/
python-package-windows.yml
File metadata and controls
43 lines (35 loc) · 949 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
name: Python tests on windows
env:
COLUMNS: 120
on:
push:
branches: [ master, staging ]
pull_request:
branches: [ master, staging ]
jobs:
test:
runs-on: windows-latest
timeout-minutes: 20
strategy:
matrix:
python-version: ["3.10"]
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
# Use x86 python because of https://github.com/kevoreilly/CAPEv2/issues/168
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
architecture: 'x86'
- name: Install dependencies
run: pip install --upgrade pytest requests
- name: Run analyzer unit tests
run: |
cd analyzer/windows
pytest -v .
- name: Run agent unit tests
run: |
cd agent
pytest -v .