From 53dcc01eda72f3b270077aa42817d3408e838125 Mon Sep 17 00:00:00 2001 From: Philip Hackstock <20710924+phackstock@users.noreply.github.com> Date: Thu, 10 Aug 2023 17:02:42 +0200 Subject: [PATCH] Add alternative publish workflow --- .github/workflows/publish_test.yaml | 30 +++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/publish_test.yaml diff --git a/.github/workflows/publish_test.yaml b/.github/workflows/publish_test.yaml new file mode 100644 index 00000000..dc63e0f8 --- /dev/null +++ b/.github/workflows/publish_test.yaml @@ -0,0 +1,30 @@ +# copied from https://github.com/marketplace/actions/install-poetry-action +name: mypy + +on: pull_request + +jobs: + mypy: + runs-on: ubuntu-latest + steps: + #---------------------------------------------- + # check-out repo and set-up python + #---------------------------------------------- + - name: Check out repository + uses: actions/checkout@v3 + - name: Set up python + id: setup-python + uses: actions/setup-python@v4 + with: + python-version: "3.10" + #---------------------------------------------- + # ----- install & configure poetry ----- + #---------------------------------------------- + - name: Install Poetry + uses: snok/install-poetry@v1 + with: + virtualenvs-create: true + virtualenvs-in-project: true + installer-parallel: true + - name: Build ixmp4 + run: poetry build