mirror of
https://github.com/domainaware/parsedmarc.git
synced 2026-02-17 07:03:58 +00:00
Create python-tests.yml
This commit is contained in:
30
.github/workflows/python-tests.yml
vendored
Normal file
30
.github/workflows/python-tests.yml
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
name: Python tests
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Set up Python 3.6
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: "3.6"
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
|
||||
- name: Run tests
|
||||
run: |
|
||||
tests.py
|
||||
- name: Build docs
|
||||
run: |
|
||||
cd docs
|
||||
make
|
||||
Reference in New Issue
Block a user