Skip to content

Commit

Permalink
Merge pull request #1 from yaacov/add-github-action
Browse files Browse the repository at this point in the history
Add github action
  • Loading branch information
yaacov authored Oct 16, 2023
2 parents 785f9f4 + b585041 commit bfabcd0
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/pr-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Test Pull Requests

on:
pull_request:
branches:
- main

jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.11

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install black isort
- name: Run linters
run: |
make lint
- name: Run tests
run: |
make test

0 comments on commit bfabcd0

Please sign in to comment.