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