Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
emgraber authored Apr 17, 2024
0 parents commit 35b93c1
Show file tree
Hide file tree
Showing 17 changed files with 2,347 additions and 0 deletions.
157 changes: 157 additions & 0 deletions .github/images/Square-Proactive-Programmers-Logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
63 changes: 63 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
# Basic workflow
name: build

# Controls when the action will run
# Workflow begins with push or PR events
# Focuses on the master branch only
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

# Create one single job
# This job performs all necessary checks
jobs:
build:
# Use the latest version of Ubuntu
runs-on: ubuntu-latest
strategy:
matrix:
# Performs all actions on different versions of Python
python-version: ["3.11"]
# Define the workflow steps
steps:
# Checkout the code of the repository
- name: Check out Repository Code
uses: actions/checkout@v3
with:
fetch-depth: 0
# Run the mdl linting tool
# Refers to .mdlrc file in repository
- name: Run Markdown Linting
uses: actionshub/markdownlint@main
# Setup Python for the current language version
- name: Setup Python ${{ matrix.python-version }}
if: always()
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
# Install pip
- name: Install Pip
if: always()
run: |
pip install -U pip
# Install poetry
- name: Install Poetry
if: always()
uses: abatilo/[email protected]
with:
poetry-version: 1.6.1
# Run the Python program
- name: Run Python Program
if: always()
run: |
cd matrix
poetry install
poetry run matrix --matrix-dir input --matrix-file matrix.txt
# Run GatorGrader: see config/gatorgrade.yml
- name: Run GatorGrader with GatorGrade
if: always()
run: |
pip install gatorgrade
gatorgrade --config config/gatorgrade.yml --report env md GITHUB_STEP_SUMMARY
Loading

0 comments on commit 35b93c1

Please sign in to comment.