Skip to content

Commit

Permalink
fix github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
ssssarah committed Oct 3, 2024
1 parent 821225a commit f2382f9
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 4 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,18 @@ on:

jobs:
lint:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4.2.0

- name: Install Python 3
uses: actions/setup-python@v5.2.0
with:
python-version: 3.8

- name: Install dev dependencies
run:
python -m venv venv
source venv/bin/activate
pip install .[dev]

- name: Lint
Expand Down
11 changes: 9 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: Test


on:
pull_request:
push:
Expand All @@ -9,11 +10,17 @@ on:

jobs:
unit_test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4.2.0
- name: Install Python 3
uses: actions/setup-python@v5.2.0
with:
python-version: 3.8

- name: Install dev dependencies
run:
python -m venv venv
source venv/bin/activate
pip install .[dev]

- name: Unit test
Expand Down

0 comments on commit f2382f9

Please sign in to comment.