Skip to content

Commit

Permalink
install requeriments test
Browse files Browse the repository at this point in the history
  • Loading branch information
novakzaballa committed Jan 16, 2024
1 parent bd2dd87 commit 4edd983
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/api-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,16 @@ jobs:
if: ${{ github.event_name == 'push' || contains( github.event.pull_request.labels.*.name, 'github') || contains( github.event.pull_request.labels.*.name, 'api') }}
name: API Unit Tests
runs-on: ubuntu-latest

steps:
- name: Install requirements
run: pip install -r requirements.txt
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.10'
cache: 'pip' # caching pip dependencies
- run: pip install -r requirements.txt
# - name: Install requirements
# run: pip install -r requirements.txt
- name: Run Tests
run: pytest

Expand All @@ -41,10 +48,7 @@ jobs:
# ports: ['5432:5432']
# options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5

# strategy:
# max-parallel: 2
# matrix:
# python-version: ['3.10', '3.11']


# - uses: actions/setup-python@v4
# with:
Expand Down

0 comments on commit 4edd983

Please sign in to comment.