-
Notifications
You must be signed in to change notification settings - Fork 1
48 lines (45 loc) · 1.18 KB
/
dev.workflow.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
47
48
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: ["20.11.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