Skip to content

Commit

Permalink
Add unit test workflow to GH actions.
Browse files Browse the repository at this point in the history
  • Loading branch information
emmiegit committed Mar 7, 2024
1 parent e2eb7cd commit f709586
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion .github/workflows/python.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,28 @@ jobs:
- name: MyPy
run: mypy yellowstone test

test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

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

- name: Install dependencies
run: pip install -r requirements.txt && pip install -r requirements.dev.txt

- name: Run unit tests
run: python -m unittest

lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Ruff
uses: chartboost/ruff-action@v1

0 comments on commit f709586

Please sign in to comment.