Skip to content

Commit

Permalink
chore(ci): update workflow to install test python packages
Browse files Browse the repository at this point in the history
  • Loading branch information
tanmoysrt committed Oct 21, 2024
1 parent 5b53dd8 commit 428a0b1
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ on:
- master
pull_request:
branches:
- '*'
- "*"
workflow_dispatch:

jobs:
lint-and-format:
name: 'Lint and Format'
name: "Lint and Format"
runs-on: ubuntu-latest

steps:
Expand All @@ -21,7 +21,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.8'
python-version: "3.8"

- name: Install dependencies
run: |
Expand All @@ -36,7 +36,7 @@ jobs:
ruff format --check
unit-tests:
name: 'Unit Tests'
name: "Unit Tests"
runs-on: ubuntu-latest

steps:
Expand All @@ -46,13 +46,17 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.8'
python-version: "3.8"

- name: Install agent
run: |
python -m venv env
env/bin/pip install -e .
- name: Install development packages
run: |
env/bin/pip install -r dev-requirements.txt
- name: Setup agent
run: |
source env/bin/activate
Expand Down

0 comments on commit 428a0b1

Please sign in to comment.