Skip to content

Commit

Permalink
Merge pull request #31 from MOchiara/patch-24
Browse files Browse the repository at this point in the history
Create tests.yml
  • Loading branch information
callumrollo authored Feb 14, 2024
2 parents ab74c99 + 5faeebc commit 0e11fd1
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
@@ -0,0 +1,23 @@
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions

name: Test command console code

on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install flake8 pytest
if [ -f requirements-dev.txt ]; then pip install -r requirements-dev.txt; fi
- name: Test with pytest
run: |
pytest

0 comments on commit 0e11fd1

Please sign in to comment.