Skip to content

Commit

Permalink
Create test_boards.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
njezersek authored Mar 7, 2023
1 parent 3151251 commit e52fa0f
Showing 1 changed file with 48 additions and 0 deletions.
48 changes: 48 additions & 0 deletions .github/workflows/test_boards.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.

# This workflow integrates Pyre with GitHub's
# Code Scanning feature.
#
# Pyre is a performant type checker for Python compliant with
# PEP 484. Pyre can analyze codebases with millions of lines
# of code incrementally – providing instantaneous feedback
# to developers as they write code.
#
# See https://pyre-check.org

name: Pyre

on:
workflow_dispatch:
pull_request:
branches: [ "main" ]

permissions:
contents: read

jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 10

steps:
- name: Check out repository code
uses: actions/checkout@v2

# Setup Python (faster than using Python container)
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: "3.10"

- name: install python packages
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Test boards
run: |
python boards_reader.py

0 comments on commit e52fa0f

Please sign in to comment.