Skip to content

Commit acf1ac9

Browse files
committed
quick&dirty github ci
1 parent 7404eab commit acf1ac9

File tree

3 files changed

+28
-0
lines changed

3 files changed

+28
-0
lines changed

.github/workflows/ci.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Run Tests
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
jobs:
8+
test:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- uses: actions/checkout@v3
13+
14+
- name: Install dependencies & test
15+
run: |
16+
sudo apt-get update
17+
sudo apt-get install -y gzip tar zstd python3 python3-pip python3-venv python3-coverage
18+
python3 -m venv venv
19+
python3 -m pip install --upgrade pip
20+
pip3 install -r requirements.txt
21+
22+
source venv/bin/activate
23+
chmod +x test.sh
24+
./test.sh

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@
33
.idea
44
test_data/
55
coverage.xml
6+
venv/

requirements.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
requests
2+
zstandard
3+
coverage

0 commit comments

Comments
 (0)