mirror of
https://github.com/netbox-community/devicetype-library.git
synced 2025-02-22 05:11:16 +01:00
Enable GitHub actions
This commit is contained in:
parent
a43552b07a
commit
dd37a2b39e
22
.github/workflows/validation.yml
vendored
Normal file
22
.github/workflows/validation.yml
vendored
Normal file
@ -0,0 +1,22 @@
|
||||
name: Validate definitions
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: Setup Python
|
||||
uses: actions/setup-python@v1
|
||||
with:
|
||||
python-version: 3.6
|
||||
- name: Install dependencies
|
||||
run: pip install -r requirements.txt
|
||||
- name: Run tests
|
||||
run: pytest --tb=line -v
|
Loading…
Reference in New Issue
Block a user