Skip to content

Commit

Permalink
adding ci
Browse files Browse the repository at this point in the history
  • Loading branch information
kanndil committed Sep 28, 2024
1 parent 3c9407d commit 2954165
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: CI

on:
push:
branches:
- main
pull_request:

jobs:
build:
runs-on: ubuntu-latest

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

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.11'

- name: Install required packages
run: |
python -m pip install --upgrade pip
pip install setuptools wheel
- name: Build PodemQuest
run: |
make
- name: Run Tests
run: |
echo "Running test cases..."
for file in test/*.bench; do
echo "Running podemquest with $file"
podemquest -i "$file" -o "output_${file##*/}.txt"
done

0 comments on commit 2954165

Please sign in to comment.