Skip to content

Commit

Permalink
tests: run on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
bwrsandman committed Sep 30, 2024
1 parent 66938cc commit ed1eb0a
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/headers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest
runs-on: windows-latest

steps:
- name: Checkout code
Expand All @@ -15,17 +15,14 @@ jobs:
with:
python-version: '3.12'

- name: Create virtual environment
run: python -m venv .venv

- name: Install dependencies
run: .venv/bin/pip install -r scripts/headers/requirements.txt
run: pip install -r scripts/headers/requirements.txt

- name: Run unit tests
run: .venv/bin/python -m unittest discover -v -s ./scripts/headers -p '*test.py'
run: python -m unittest discover -v -s ./scripts/headers -p '*test.py'

- name: Run generate_headers.py script
run: .venv/bin/python scripts/headers/bw1_decomp_gen/generate_headers.py
run: python scripts/headers/bw1_decomp_gen/generate_headers.py

- name: Upload generated headers as artifact
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit ed1eb0a

Please sign in to comment.