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 0eed42e commit e10c727
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,24 +10,28 @@ jobs:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]

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
run: |
pip install pip wheel coverage coveralls
pip install -U wheel coverage coveralls
pip install .
python --version
make data coverage
env:
PYTHONUTF8: 1
- uses: pre-commit/[email protected]
if: matrix.os == 'ubuntu-latest'
Expand Down

0 comments on commit e10c727

Please sign in to comment.