Skip to content

Commit

Permalink
Standardize build script
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmezzetti committed Dec 28, 2024
1 parent f159988 commit fa99823
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,18 @@ jobs:

timeout-minutes: 60
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- name: Checkout code
uses: actions/checkout@v3

- name: Install Python
uses: actions/setup-python@v4
with:
python-version: 3.9

- name: Install dependencies - Windows
run: choco install wget
run: |
"PYTHONIOENCODING=utf-8" >> $env:GITHUB_ENV
choco install wget
if: matrix.os == 'windows-latest'

- name: Build
Expand All @@ -28,8 +33,6 @@ jobs:
python -c "import nltk; nltk.download(['punkt', 'punkt_tab', 'averaged_perceptron_tagger_eng'])"
python --version
make data coverage
env:
PYTHONUTF8: 1
- uses: pre-commit/[email protected]
if: matrix.os == 'ubuntu-latest'
Expand Down

0 comments on commit fa99823

Please sign in to comment.