Skip to content

Commit

Permalink
add auto running tests
Browse files Browse the repository at this point in the history
  • Loading branch information
wchistow committed Jul 5, 2023
1 parent 3cedd89 commit dc29382
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Running tests

on: [push]

jobs:
build:

runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11"]

steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install rich==13.4.2
python -m pip install -r requirements.txt
- name: Running tests
run: |
cd tests
python main.py

0 comments on commit dc29382

Please sign in to comment.