Skip to content

Commit

Permalink
Add alternative publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
phackstock committed Aug 10, 2023
1 parent 9a4ef35 commit 53dcc01
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/publish_test.yaml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 53dcc01

Please sign in to comment.