Skip to content

Commit

Permalink
ci: test action added
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeWithEmad committed Oct 4, 2023
1 parent c4e044d commit fbb24e5
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Run tests

on:
pull_request:
branches: [master]

jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Upgrade pip
run: python -m pip install --upgrade pip setuptools
- name: Install dependencies
run: pip install black isort mypy pylint pytest tutor types-docutils types-PyYAML types-setuptools
- name: Python tests
run: make test

0 comments on commit fbb24e5

Please sign in to comment.