isle-portable/.github/workflows/unittest.yml
2024-01-11 04:46:37 -05:00

38 lines
730 B
YAML

name: Test
on: [push, pull_request]
jobs:
pytest-win:
name: 'Python Windows'
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Install python libraries
shell: bash
run: |
pip install pytest -r tools/requirements.txt
- name: Run python unit tests (Windows)
shell: bash
run: |
pytest tools/isledecomp
pytest-ubuntu:
name: 'Python Linux'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install python libraries
shell: bash
run: |
pip install pytest -r tools/requirements.txt
- name: Run python unit tests (Ubuntu)
shell: bash
run: |
pytest tools/isledecomp