diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f6f28d7..9597158 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -5,18 +5,15 @@ on: [push] jobs: build: runs-on: ubuntu-latest - strategy: - matrix: - python-version: ["3.12"] steps: - uses: actions/checkout@v3 with: submodules: recursive - - name: Set up Python ${{ matrix.python-version }} + - name: Set up Python uses: actions/setup-python@v4 with: - python-version: ${{ matrix.python-version }} + python-version: "3.12" # - uses: schmiddim/action-wget-unzip@v2 # with: # url: "https://github.com/gbdk-2020/gbdk-2020/releases/download/4.3.0/gbdk-linux64.tar.gz" @@ -59,7 +56,11 @@ jobs: # pip install ruff # ruff check --format=github --target-version=py310 . # continue-on-error: true - - name: Test with pytest + - name: Run wine run: | cd tests - pytest -v -s + WINEDEBUG=+all /usr/bin/env wine ../bgb/bgb64.exe -set \"DebugSrcBrk=1\" -hf -stateonexit -screenonexit build/wav_test_load_and_play.bmp build/wav_test_load_and_play.gb + # - name: Test with pytest + # run: | + # cd tests + # pytest -v -s diff --git a/tests/bgb_get_snapshot.py b/tests/bgb_get_snapshot.py index 9f49d29..e0ba2c9 100644 --- a/tests/bgb_get_snapshot.py +++ b/tests/bgb_get_snapshot.py @@ -54,7 +54,6 @@ def make_and_run(rom_relative): rom_relative, ], cwd=base_dir, - env="WINEDEBUG=+all", # stdout=subprocess.DEVNULL, # stderr=subprocess.DEVNULL, )