Skip to content

Commit

Permalink
Changed dependencies instalation.
Browse files Browse the repository at this point in the history
  • Loading branch information
itsjrsa committed Mar 9, 2024
1 parent 6a33e70 commit a722be5
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ env:
POETRY_CACHE_DIR: '/var/cache/pypoetry'
POETRY_HOME: '/usr/local'


jobs:
lint:
runs-on: ubuntu-latest
Expand All @@ -31,7 +30,6 @@ jobs:
run: |
git config --global url."https://oauth2:${{ secrets.GITLAB_TOKEN }}@gitlab.inesctec.pt/".insteadOf "https://gitlab.inesctec.pt/"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand All @@ -40,7 +38,7 @@ jobs:
- name: Lint code
run: |
flake8
flake8 .
test:
runs-on: ubuntu-latest
Expand All @@ -63,14 +61,12 @@ jobs:
git config --global url."https://oauth2:${{ secrets.GITLAB_TOKEN }}@gitlab.inesctec.pt/".insteadOf "https://gitlab.inesctec.pt/"
- name: Install dependencies
run: |
pip install -r requirements.txt
pip install pytest pytest-cov
- name: Run tests with coverage
run: |
python -m pip install --upgrade pip
pip install poetry
poetry install --with test
- name: Run tests with coverage
run: |
cd src/market
pytest --cov
pytest --cov

0 comments on commit a722be5

Please sign in to comment.