-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 4fee5a3
Showing
9 changed files
with
946 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
# 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: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
# Performs all actions on different versions of Python | ||
python-version: ["3.11"] | ||
os: [ubuntu-latest] | ||
# Define the workflow steps | ||
steps: | ||
# Checkout the code of the repository | ||
- name: Check out Repository Code | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
# 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 | ||
python -m pip install --user pipx | ||
# Run the Python program | ||
- name: Run Python Program | ||
if: always() | ||
run: | | ||
cd source | ||
python compute-tuple-intersection.py | ||
python perform-apply-to-each.py | ||
# Run GatorGrader: see config/gatorgrade.yml | ||
- name: Run GatorGrader with GatorGrade | ||
run: | | ||
pipx install gatorgrade | ||
gatorgrade --config config/gatorgrade.yml --report env md GITHUB_STEP_SUMMARY |
Oops, something went wrong.