Skip to content

Commit

Permalink
Merge pull request #29 from captainhammy/28-cleanup-test-workflow-pyt…
Browse files Browse the repository at this point in the history
…hon-setup

test: remove unnecessary Python setup in test.yml
  • Loading branch information
captainhammy authored May 29, 2024
2 parents 13e37d7 + 6c4ad95 commit b1c6425
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 12 deletions.
13 changes: 2 additions & 11 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,31 +11,22 @@ jobs:
strategy:
matrix:
houdini-version: ["20.0", "19.5"]
include:
- houdini-version: "20.0"
python-version: "3.10"
- houdini-version: "19.5"
python-version: "3.9"

container:
image: captainhammy/hython-runner:${{ matrix.houdini-version }}

steps:
- name: Checkout repo
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: pypy${{ matrix.python-version }}

- name: Install Apprentice Licenses
uses: captainhammy/install-houdini-apprentice-license-action@v5
with:
client_id: ${{ secrets.SESI_CLIENT_ID }}
client_secret_key: ${{ secrets.SESI_SECRET_KEY }}

- name: Install dependencies
run: python${{ matrix.python-version }} -m pip install tox tox-gh-actions
run: python3 -m pip install tox tox-gh-actions

- name: Test with tox
run: tox
Expand Down
3 changes: 2 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
env_list = py310,ruff-check,ruff-format-check,isort-check,mypy,docstring-check
env_list = py311,py310,py39,ruff-check,ruff-format-check,isort-check,mypy,docstring-check
no_package = true
labels =
test = py310
Expand All @@ -10,6 +10,7 @@ labels =
python =
3.9: py39, ruff-check, ruff-format-check, isort-check, mypy, docstring-check
3.10: py310, ruff-check, ruff-format-check, isort-check, mypy, docstring-check
3.11: py311, ruff-check, ruff-format-check, isort-check, mypy, docstring-check

[testenv]
allowlist_externals=
Expand Down

0 comments on commit b1c6425

Please sign in to comment.