Skip to content

Commit

Permalink
Attempt using apt-get for python3.6
Browse files Browse the repository at this point in the history
  • Loading branch information
larsevj committed Oct 3, 2024
1 parent 01cd9a5 commit 3b90a9d
Showing 1 changed file with 19 additions and 10 deletions.
29 changes: 19 additions & 10 deletions .github/workflows/typing.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Style
name: Typing

on:
push:
Expand All @@ -7,6 +7,9 @@ on:
branches: [main]
workflow_call:

env:
UV_SYSTEM_PYTHON: 1

jobs:
type-check:
runs-on: ubuntu-latest
Expand All @@ -19,6 +22,7 @@ jobs:
- name: Install dependencies
run: |
pip install -U pip
pip install .
pip install mypy
- name: Run mypy
Expand All @@ -28,15 +32,20 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: 3.6
- name: Install dependencies
- name: Install pyenv
run: |
pip install -U pip
pip install mypy
curl https://pyenv.run | bash
- name: Install python
run: |
export PYENV_ROOT="$HOME/.pyenv"
export PATH="$PYENV_ROOT/bin:$PATH"
pyenv install 3.6
pyenv global 3.6
- name: Run mypy
run: |
mypy komodoenv --python-version 3.6
export PYENV_ROOT="$HOME/.pyenv"
export PATH="$PYENV_ROOT/bin:$PATH"
pyenv which pip
python -m pip install -U pip
python -m pip install mypy
python -m mypy komodoenv --python-version 3.6

0 comments on commit 3b90a9d

Please sign in to comment.