summaryrefslogtreecommitdiffstats
path: root/.github/workflows/nos.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/nos.yml')
-rw-r--r--.github/workflows/nos.yml25
1 files changed, 25 insertions, 0 deletions
diff --git a/.github/workflows/nos.yml b/.github/workflows/nos.yml
new file mode 100644
index 0000000..d75defa
--- /dev/null
+++ b/.github/workflows/nos.yml
@@ -0,0 +1,25 @@
+name: gita-test
+
+on: [push, pull_request]
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ strategy:
+ matrix:
+ os: [ubuntu-latest, macos-latest, windows-latest]
+ python-version: [3.6, 3.7, 3.8]
+ steps:
+ - uses: actions/checkout@v2
+ - name: Set up Python ${{ matrix.python-version }}
+ uses: actions/setup-python@v2
+ with:
+ python-version: ${{ matrix.python-version }}
+ - name: Install dependences
+ run: |
+ python -m pip install --upgrade pip
+ pip install -r requirements.txt
+ pip install .
+ - name: Pytest
+ run: |
+ pytest tests --cov=./gita