forked from trash80/mGB
-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (36 loc) · 901 Bytes
/
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
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"
- 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: wget bgb
shell: bash
run: |
# wget https://bgb.bircd.org/bgb.zip
wget https://bgb.bircd.org/bgbw64.zip
unzip bgb.zip
- name: pip install
shell: bash
run: |
cd tests
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: pytest
shell: bash
run: |
cd tests
pytest -v -s