Skip to content

Commit

Permalink
Merge pull request #47 from cpacker/github-actions
Browse files Browse the repository at this point in the history
bare bones github actions workflow
  • Loading branch information
cpacker authored Oct 19, 2023
2 parents cf40651 + bd49cfc commit e593d5c
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Basic check of main.py

on:
push:
paths:
- 'main.py'

jobs:
check_main:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.10.10' # Use the version of Python you need

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run main.py
run: python main.py

0 comments on commit e593d5c

Please sign in to comment.