Skip to content

test fixes to workflow attempt 3 #122

test fixes to workflow attempt 3

test fixes to workflow attempt 3 #122

name: Python 3.7 unittest
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.7
uses: actions/setup-python@v3
with:
python-version: "3.7"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Run unittest on files in pykotor/tests
run: |
python -m unittest discover -s tests -p 'test_*.py' -v