Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
---
name: CI

on:
push:
branches:
- main
workflow_dispatch:

jobs:
unit-test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: [3.x]
steps:
- uses: actions/checkout@v3
- name: setup python
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}

- name: display test env
run: python3 -c "import sys; print(sys.platform)" && python -V

- name: install dependencies
run: python3 -m pip install -r requirements.txt

- name: install the package
run: python3 -m pip install .

- name: unit test
run: pytest
12 changes: 6 additions & 6 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
pytest==2.8.3
pep8==1.6.2
pytest>=2.8.3
pep8>=1.6.2
marshmallow>=2.15.1
beautifulsoup4==4.4.1
ordereddict==1.1
lxml==4.6.5
six==1.9.0
beautifulsoup4>=4.4.1
ordereddict>=1.1
lxml>=4.6.5
six>=1.9.0