mirror of
https://github.com/BOSWatch/BW3-Core.git
synced 2025-12-06 07:12:04 +01:00
parent
ffb1256e24
commit
203feccbc6
18
.github/workflows/run_pytest.yml
vendored
18
.github/workflows/run_pytest.yml
vendored
|
|
@ -8,14 +8,14 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest]
|
os: [ubuntu-latest]
|
||||||
python-version: ['3.8', '3.9', '3.10']
|
python-version: ['3.7', '3.8', '3.9', '3.10']
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{matrix.os}}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v1
|
||||||
|
|
||||||
- name: Set up Python ${{ matrix.python-version }} at ${{ matrix.os }}
|
- name: Set up Python ${{matrix.python-version}} at ${{matrix.os}}
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v3
|
||||||
with:
|
with:
|
||||||
python-version: ${{ matrix.python-version }}
|
python-version: ${{ matrix.python-version }}
|
||||||
|
|
||||||
|
|
@ -23,14 +23,14 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
mkdir -p log/
|
mkdir log/
|
||||||
|
|
||||||
- name: Test with pytest
|
- name: Test with pytest
|
||||||
run: |
|
run: |
|
||||||
pytest -c test/pytest.ini
|
pytest -c 'test/pytest.ini'
|
||||||
|
|
||||||
- name: Save artifacts
|
- name: Save artifacts
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@master
|
||||||
with:
|
with:
|
||||||
name: test.log
|
name: test.log
|
||||||
path: log/test.log
|
path: log/test.log
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue