Skip to content

Commit

Permalink
Create python-ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
aravindvnair99 authored Jun 24, 2021
1 parent 962a477 commit 5bf4757
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/python-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Python CI

on: push

jobs:
ci:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: [3.7, 3.8, 3.9]
steps:
- uses: actions/checkout@main
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@main
with:
python-version: ${{ matrix.python-version }}
- name: Display Python version
run: python -c "import sys; print(sys.version)"
- name: Install dependencies
run: |
python -m pip install --upgrade pip wheel setuptools
pip install -r requirements.txt
- name: Test run
run: python app/app.py

0 comments on commit 5bf4757

Please sign in to comment.