Skip to content

Merge pull request #63 from CodeGrade/feat/logging #268

Merge pull request #63 from CodeGrade/feat/logging

Merge pull request #63 from CodeGrade/feat/logging #268

Workflow file for this run

name: "Development - CI Testing for Code Quality"
on: [push]
jobs:
grading_vm:
name: "Worker Tests"
runs-on: ubuntu-20.04
defaults:
run:
working-directory: worker
strategy:
matrix:
python-version: ["3.10.6"]
steps:
- name: checkout
uses: actions/checkout@v4
- name: set up python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: run tests
run: python -m orca_grader.tests.runner
web_server:
name: "Web Server Tests"
runs-on: ubuntu-20.04
defaults:
run:
working-directory: orchestrator
strategy:
matrix:
node-version: ["21.0.0"]
steps:
- name: checkout
uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: "21.0.0"
- name: "Install dependencies"
run: yarn --frozen-lockfile
- run: yarn workspaces run build
- run: yarn test