forked from trash80/mGB
-
Notifications
You must be signed in to change notification settings - Fork 0
48 lines (45 loc) · 1.05 KB
/
test.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
46
47
48
name: Pytest
on: [push]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: actions/setup-python@v5
with:
python-version: "3.12"
cache: "pip"
- name: wget gbdk
uses: robinraju/release-downloader@v1
with:
repository: "gbdk-2020/gbdk-2020"
tag: "4.3.0"
fileName: "gbdk-win64.zip"
extract: true
- name: Add msys64 to path
run: |
echo C:\msys64\usr\bin >> $env:GITHUB_PATH
- name: pip install
shell: bash
run: |
cd tests
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: make roms
shell: bash
run: |
cd tests
make
ls build
- name: test single rom
# shell: bash
run: |
cd tests
python test.py
- name: pytest
shell: bash
run: |
cd tests
pytest -v -s