Merge pull request #398 from aitomatic/release #2735
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Install Package, Lint Code & Run Tests on Windows | |
on: | |
push: | |
branches: | |
- "*" | |
pull_request: | |
branches: | |
- "*" | |
jobs: | |
install-lint-test-on-win: | |
runs-on: windows-latest | |
strategy: | |
matrix: | |
python-version: # github.com/actions/python-versions/releases | |
- 3.12 | |
- 3.13 | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v4 # github.com/actions/checkout | |
- name: Set Up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 # github.com/actions/setup-python | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install Poetry | |
run: .\make get-poetry | |
- name: Install Package & Dependencies | |
run: .\make install | |
- name: Lint Code | |
run: .\make lint | |
- name: Run Tests | |
run: .\make test | |
env: | |
LEPTON_API_KEY: ${{ secrets.LEPTON_API_KEY }} | |
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} |