Skip to content

Commit f2382f9

Browse files
committed
fix github actions
1 parent 821225a commit f2382f9

File tree

2 files changed

+18
-4
lines changed

2 files changed

+18
-4
lines changed

.github/workflows/lint.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,18 @@ on:
66

77
jobs:
88
lint:
9+
runs-on: ubuntu-latest
10+
911
steps:
12+
- uses: actions/checkout@v4.2.0
13+
14+
- name: Install Python 3
15+
uses: actions/setup-python@v5.2.0
16+
with:
17+
python-version: 3.8
18+
1019
- name: Install dev dependencies
1120
run:
12-
python -m venv venv
13-
source venv/bin/activate
1421
pip install .[dev]
1522

1623
- name: Lint

.github/workflows/test.yaml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
name: Test
22

3+
34
on:
45
pull_request:
56
push:
@@ -9,11 +10,17 @@ on:
910

1011
jobs:
1112
unit_test:
13+
runs-on: ubuntu-latest
14+
1215
steps:
16+
- uses: actions/checkout@v4.2.0
17+
- name: Install Python 3
18+
uses: actions/setup-python@v5.2.0
19+
with:
20+
python-version: 3.8
21+
1322
- name: Install dev dependencies
1423
run:
15-
python -m venv venv
16-
source venv/bin/activate
1724
pip install .[dev]
1825

1926
- name: Unit test

0 commit comments

Comments
 (0)