Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
hellokayas authored Nov 13, 2024
1 parent c056b75 commit 6b98e33
Showing 1 changed file with 23 additions and 23 deletions.
46 changes: 23 additions & 23 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,26 +74,26 @@ jobs:
# - name: Run tests
# run: make test

tests_win:
needs: linter
strategy:
fail-fast: false
matrix:
python-version: [3.10.11]
os: [windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install Pip
run: python.exe -m pip install --upgrade pip
- name: Install project
run: pip install -e .[test]
- name: Set OPENAI API Key
run: |
chcp 65001
echo "OPENAI_API_KEY=dummy" >> $env:GITHUB_ENV
- name: run tests
run: pytest -s -vvvv -l --tb=long tests
# tests_win:
# needs: linter
# strategy:
# fail-fast: false
# matrix:
# python-version: [3.10.11]
# os: [windows-latest]
# runs-on: ${{ matrix.os }}
# steps:
# - uses: actions/checkout@v4
# - uses: actions/setup-python@v5
# with:
# python-version: ${{ matrix.python-version }}
# - name: Install Pip
# run: python.exe -m pip install --upgrade pip
# - name: Install project
# run: pip install -e .[test]
# - name: Set OPENAI API Key
# run: |
# chcp 65001
# echo "OPENAI_API_KEY=dummy" >> $env:GITHUB_ENV
# - name: run tests
# run: pytest -s -vvvv -l --tb=long tests

0 comments on commit 6b98e33

Please sign in to comment.