mirror of
https://github.com/Casvt/MIND.git
synced 2026-02-19 11:54:46 -05:00
Fixed tests not finding requirements file
This commit is contained in:
35
.github/workflows/tests.yml
vendored
35
.github/workflows/tests.yml
vendored
@@ -7,51 +7,66 @@ on:
|
||||
|
||||
jobs:
|
||||
p3_7:
|
||||
name: Python 3.7
|
||||
name: Python 3.7.1
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: 3.7
|
||||
python-version: 3.7.1
|
||||
- run: pip install -r requirements.txt
|
||||
- run: python3 -m unittest discover -s ./tests -p '*.py'
|
||||
|
||||
p3_8:
|
||||
name: Python 3.8
|
||||
name: Python 3.8.0
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: 3.8
|
||||
python-version: 3.8.0
|
||||
- run: pip install -r requirements.txt
|
||||
- run: python3 -m unittest discover -s ./tests -p '*.py'
|
||||
|
||||
p3_9:
|
||||
name: Python 3.9
|
||||
name: Python 3.9.0
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: 3.9
|
||||
python-version: 3.9.0
|
||||
- run: pip install -r requirements.txt
|
||||
- run: python3 -m unittest discover -s ./tests -p '*.py'
|
||||
|
||||
p3_10:
|
||||
name: Python 3.10
|
||||
name: Python 3.10.0
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: 3.10
|
||||
python-version: 3.10.0
|
||||
- run: pip install -r requirements.txt
|
||||
- run: python3 -m unittest discover -s ./tests -p '*.py'
|
||||
|
||||
p3_11:
|
||||
name: Python 3.11
|
||||
name: Python 3.11.0
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: 3.11
|
||||
python-version: 3.11.0
|
||||
- run: pip install -r requirements.txt
|
||||
- run: python3 -m unittest discover -s ./tests -p '*.py'
|
||||
|
||||
Reference in New Issue
Block a user