Skip to content

Commit

Permalink
Merge f103e3a into a8e0f5b
Browse files Browse the repository at this point in the history
  • Loading branch information
gwax committed Oct 25, 2023
2 parents a8e0f5b + f103e3a commit 0fd4ab8
Showing 1 changed file with 32 additions and 2 deletions.
34 changes: 32 additions & 2 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,37 @@ on:
- trunk

jobs:
can-run:
strategy:
matrix:
python-version:
- "3.8"
- "3.9"
- "3.10"
- "3.11"
os:
- ubuntu-latest
- macos-latest
- windows-latest
runs-on: ${{ matrix.os }}
name: Can run on ${{ matrix.os }} - Python ${{ matrix.python-version }}
steps:
- uses: actions/checkout@v4

- uses: actions/setup-python@v4
with:
python-version: "${{ matrix.python-version }}"
cache: pip
cache-dependency-path: pyproject.toml

- name: Install project
run: |
pip install -U pip setuptools
pip install -e .
- name: Run mtg-ssm
run: mtg-ssm --help

pytest:
runs-on: ubuntu-latest
strategy:
Expand All @@ -24,8 +55,7 @@ jobs:
with:
python-version: "${{ matrix.python-version }}"
cache: pip
cache-dependency-path: |
pyproject.toml
cache-dependency-path: pyproject.toml

- name: Install project
run: |
Expand Down

0 comments on commit 0fd4ab8

Please sign in to comment.