-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (33 loc) · 974 Bytes
/
test_cases.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
name: Test Cases
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: 14.5.0
- name: Install Node dependencies
run: yarn
- name: Set up Python 3.9
uses: actions/setup-python@v1
with:
python-version: 3.9
- name: Install pytest
run: pip install pytest
- name: Test programmers
run: |
yarn jest programmers.com
pytest programmers.com/learn/courses/30/lessons/*.py
- name: Test Baekjoon Online Judge
run: pytest acmicpc.net/problem/*.py
- name: Test GeeksforGeeks
run: |
yarn jest geeksforgeeks
pytest geeksforgeeks/*.py
- name: Test HackerRank
run: pytest hackerrank/*.py
- name: Test programming Interview
run: yarn jest programming-interview/*.test.ts