Skip to content

run tests first

run tests first #2

Workflow file for this run

name: Python application test with GitHub Actions
on: [push, pull_request]
jobs:
build:

Check failure on line 7 in .github/workflows/python-tests.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/python-tests.yml

Invalid workflow file

You have an error in your yaml syntax on line 7
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.11
uses: actions/setup-python@v5
with:
python-version: 3.11
- name: Install dependencies
run: |
pip install -r requirements_win.txt
pip install pylint pytest
- name: Install Tesseract
run: |
curl -L -o tesserocr-2.6.0-cp311-cp311-win_amd64.whl https://github.com/simonflueckiger/tesserocr-windows_build/releases/download/tesserocr-v2.6.0-tesseract-5.3.1/tesserocr-2.6.0-cp311-cp311-win_amd64.whl
pip install tesserocr-2.6.0-cp311-cp311-win_amd64.whl
- name: Test with pytest
run: |
pytest
- name: Lint with pylint
run: |
pylint poker