mirror of
https://github.com/Arrowar/StreamingCommunity.git
synced 2025-06-05 02:55:25 +00:00
33 lines
773 B
YAML
33 lines
773 B
YAML
name: Test Site Modules and OS Path
|
|
|
|
on:
|
|
push:
|
|
branches: [ main, master, develop ]
|
|
pull_request:
|
|
branches: [ main, master, develop ]
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v4
|
|
with:
|
|
python-version: '3.11'
|
|
|
|
- name: Install dependencies
|
|
run: |
|
|
python -m pip install --upgrade pip
|
|
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
|
|
|
|
- name: Run loadSearchApi test
|
|
run: |
|
|
PYTHONPATH=$PYTHONPATH:$(pwd) python -m Test.Util.loadSearchApi
|
|
|
|
- name: Run osPath test
|
|
run: |
|
|
PYTHONPATH=$PYTHONPATH:$(pwd) python -m Test.Util.osPath |