mirror of
https://github.com/isledecomp/isle.git
synced 2024-11-26 17:46:38 -05:00
38 lines
730 B
YAML
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
|