mirror of
https://github.com/isledecomp/isle-portable.git
synced 2024-11-27 01:45:37 -05:00
37 lines
684 B
YAML
37 lines
684 B
YAML
|
name: Unit Tests
|
||
|
|
||
|
on: [push, pull_request]
|
||
|
|
||
|
jobs:
|
||
|
pytest-win:
|
||
|
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:
|
||
|
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
|