Create pythonapp.yml
This commit is contained in:
parent
1efc9035ae
commit
5afe26d124
1 changed files with 22 additions and 0 deletions
22
.github/workflows/pythonapp.yml
vendored
Normal file
22
.github/workflows/pythonapp.yml
vendored
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
name: pcb-tools
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: Set up Python 3.7
|
||||
uses: actions/setup-python@v1
|
||||
with:
|
||||
python-version: 3.7
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install -r requirements-dev.txt
|
||||
- name: Test with pytest
|
||||
run: |
|
||||
pip install pytest
|
||||
pytest
|
||||
Loading…
Add table
Add a link
Reference in a new issue