Skip to content

Commit 4fe1a71

Browse files
authored
Merge branch 'SQLab:main' into main
2 parents f2605a0 + 7c57c8e commit 4fe1a71

13 files changed

Lines changed: 2590 additions & 1 deletion

File tree

.github/workflows/lab-autograding.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
const files = await github.rest.pulls.listFiles({ owner, repo, pull_number: issue_number });
4646
const changedFiles = files.data.map((file) => file.filename);
4747
const allowedFileRegex = /^lab\d+\/main_test.js$/;
48-
const specialChangedFiles = ["lab0/lab0.js", "lab5/antiasan.c", "lab6/llvm-pass.so.cc"];
48+
const specialChangedFiles = ["lab0/lab0.js", "lab5/antiasan.c", "lab6/llvm-pass.so.cc", "lab8/solve.py"];
4949
if (!changedFiles.every((file) => (allowedFileRegex.test(file) || specialChangedFiles.includes(file)))) {
5050
core.setFailed('The PR contains changes to files other than the allowed files.');
5151
}
@@ -56,4 +56,7 @@ jobs:
5656
if [ ${{ steps.lab.outputs.result }} -eq 6 ]; then
5757
sudo apt install -y llvm-14
5858
fi
59+
if [ ${{ steps.lab.outputs.result }} -eq 8 ]; then
60+
python3 -m pip install angr
61+
fi
5962
./validate.sh

hw4/README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# HW4
2+
3+
You can install package through:
4+
5+
```shell
6+
npm i
7+
```
8+
9+
After finish your test code in `tests/calculator_test.js`, you can run `Stryker` by:
10+
11+
```shell
12+
npm run mutate
13+
```
14+
15+
to get your mutation testing result.

0 commit comments

Comments
 (0)