From e144ca5a59140507b6ff7ead53adee3db0096cd3 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Fri, 8 Jan 2021 18:28:01 +0100 Subject: [PATCH] =?UTF-8?q?=E2=96=B6=EF=B8=8F=20Test=20package=20with=20Gi?= =?UTF-8?q?tHub=20Actions=20on=20push=20to=20master?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/test-package.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/test-package.yml diff --git a/.github/workflows/test-package.yml b/.github/workflows/test-package.yml new file mode 100644 index 00000000..297a4996 --- /dev/null +++ b/.github/workflows/test-package.yml @@ -0,0 +1,24 @@ +name: Test package + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + check: + runs-on: ubuntu-latest + steps: + - name: Checkout the repository + uses: actions/checkout@v2 + - name: Install Python 3.9 + uses: actions/setup-python@v2 + with: + python-version: '3.9' + - name: Install Poetry + uses: abatilo/actions-poetry@v2.0.0 + - name: Install development dependencies + run: poetry install + - name: Run pytest + run: poetry run pytest