Skip to content

...

... #62

Workflow file for this run

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"
cache-dependency-path: "tests/requirements.txt"
- 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: |
python -m pip install --upgrade pip
pip install -r requirements.txt
working-directory: ./tests
- name: make roms
shell: bash
run: |
make
ls build
working-directory: ./tests
- name: test single rom (python)
# shell: bash
run: |
cd tests
python test.py
- name: test single rom (bash)
shell: bash
run: |
../bgb/bgb64.exe -set "DebugSrcBrk=1" -hf -stateonexit -screenonexit -rom build/wav_test_load_and_play.gb
working-directory: ./tests
- run: |
ls -alF
ls -alF build
shell: bash
working-directory: ./tests
# - name: pytest
# shell: bash
# run: |
# cd tests
# pytest -v -s