-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (44 loc) · 1.24 KB
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# 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 on Microsoft Azure
runs-on: ubuntu-latest
strategy:
matrix:
# Performs all actions on different versions of Python
python-version: ["3.10"]
# Define the workflow steps
steps:
# Checkout the code of the repository
- name: Check out Repository Code
uses: actions/checkout@v2
with:
fetch-depth: 0
# # 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.1.8
# Run GatorGrader: see config/gatorgrade.yml
- name: Run GatorGrader with GatorGrade
if: always()
run: |
pip install gatorgrade
gatorgrade --config config/gatorgrade.yml