From 51af95f585770ca0eb148cd2eb045b83d22e014c Mon Sep 17 00:00:00 2001 From: glacials Date: Tue, 9 Mar 2021 09:43:42 -0800 Subject: [PATCH] Add GitHub Actions --- .github/workflows/test.yaml | 14 ++++++++++++++ requirements.txt | 4 ++++ 2 files changed, 18 insertions(+) create mode 100644 .github/workflows/test.yaml create mode 100644 requirements.txt diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml new file mode 100644 index 0000000..35bc120 --- /dev/null +++ b/.github/workflows/test.yaml @@ -0,0 +1,14 @@ +steps: + - uses: actions/checkout@v2 + - name: Set up Python + uses: actions/setup-python@v2 + with: + python-version: "3.x" + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install -r requirements.txt + - name: Test with pytest + run: | + pip install ${{ secrets.YOURBASE_INSTALL_URL }} + pytest diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..4159b20 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,4 @@ +# Development or testing dependencies only! Runtime dependencies should be +# specified in setup.py so they get installed when users install us. + +pytest -- knotmirror 0.0.1