Skip to content

Commit

Permalink
added windows github workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
alanisaac committed Oct 23, 2024
1 parent 8362af5 commit ef5b18b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/ocsf-validator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,19 @@ on:

jobs:
pytest:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11", "3.12"]
os: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Set up environment
uses: "./.github/actions/setup"
with:
python-version: ${{ matrix.python-version }}
- name: pytest
shell: bash
run: poetry run pytest
black:
runs-on: ubuntu-latest
Expand All @@ -29,6 +31,7 @@ jobs:
with:
python-version: "3.12"
- name: black
shell: bash
run: poetry run black --check .
isort:
runs-on: ubuntu-latest
Expand All @@ -39,6 +42,7 @@ jobs:
with:
python-version: "3.12"
- name: isort
shell: bash
run: poetry run isort --check .
pyright:
runs-on: ubuntu-latest
Expand All @@ -49,4 +53,5 @@ jobs:
with:
python-version: "3.12"
- name: pyright
shell: bash
run: poetry run pyright

0 comments on commit ef5b18b

Please sign in to comment.