Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nbren12 committed Jun 1, 2024
1 parent 8348fbf commit df53ad5
Showing 1 changed file with 25 additions and 6 deletions.
31 changes: 25 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,30 @@ on:
- main

jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.9'

- name: Install dependencies
run: |
apt-get update && apt-get install -y make
python -m pip install --upgrade pip
pip install pre-commit
- name: Install pre-commit hooks
run: |
pre-commit install
- name: Run lint
run: |
make lint
build:

runs-on: ubuntu-latest
Expand All @@ -18,16 +42,11 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Install dependencies
run: |
apt-get install -y build-essential
- name: lint
run: make lint
- name: Build package
run: |
apt-get update && apt-get install -y build-essential
python -m pip install --upgrade pip
pip install --no-build-isolation .
apt-get install -y build-essential
- name: Run tests
run: make unittest
- name: coverage
Expand Down

0 comments on commit df53ad5

Please sign in to comment.