mirror of
https://github.com/BOSWatch/BW3-Core.git
synced 2026-01-07 01:00:58 +01:00
Update run_pytest.yml
This commit is contained in:
parent
7e124b0811
commit
3bb1ad75a7
27
.github/workflows/run_pytest.yml
vendored
27
.github/workflows/run_pytest.yml
vendored
|
|
@ -1,32 +1,27 @@
|
|||
on:
|
||||
- push
|
||||
- pull_request
|
||||
name: pytest
|
||||
|
||||
name: Run pytest
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
|
||||
build:
|
||||
name: Build
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
max-parallel: 4
|
||||
max-parallel: 3
|
||||
matrix:
|
||||
python-version: [3.5, 3.6, 3.7]
|
||||
|
||||
steps:
|
||||
|
||||
- uses: actions/checkout@master
|
||||
|
||||
- name: Set up Python $
|
||||
uses: actions/setup-python@master
|
||||
- uses: actions/checkout@v1
|
||||
- name: Set up Python ${{ matrix.python-version }}
|
||||
uses: actions/setup-python@v1
|
||||
with:
|
||||
version: $
|
||||
|
||||
python-version: ${{ matrix.python-version }}
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install -r requirements.txt
|
||||
|
||||
- name: Test with pytest
|
||||
run: |
|
||||
pytest
|
||||
pip install pytest
|
||||
pytest -c test/pytest.ini
|
||||
|
|
|
|||
Loading…
Reference in a new issue