From 7e124b0811baba88ed38338e0680e5f295119596 Mon Sep 17 00:00:00 2001 From: Bastian Schroll Date: Fri, 20 Sep 2019 10:02:09 +0200 Subject: [PATCH] test gh actions --- .github/workflows/run_pytest.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/run_pytest.yml diff --git a/.github/workflows/run_pytest.yml b/.github/workflows/run_pytest.yml new file mode 100644 index 0000000..383c5b9 --- /dev/null +++ b/.github/workflows/run_pytest.yml @@ -0,0 +1,32 @@ +on: + - push + - pull_request + +name: Run pytest + +jobs: + + build: + name: Build + runs-on: ubuntu-latest + strategy: + max-parallel: 4 + matrix: + python-version: [3.5, 3.6, 3.7] + steps: + + - uses: actions/checkout@master + + - name: Set up Python $ + uses: actions/setup-python@master + with: + version: $ + + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install -r requirements.txt + + - name: Test with pytest + run: | + pytest