Skip to content

Commit

Permalink
test without venv
Browse files Browse the repository at this point in the history
  • Loading branch information
dvviktordelev committed Apr 25, 2024
1 parent 907b1a5 commit 870b945
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
14 changes: 7 additions & 7 deletions .github/actions/build-python/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,12 @@ runs:
shell: bash
env:
GITHUB_TOKEN: ${{ inputs.github_ro_token }}
- name: Create virtual environment
run: python -m venv .venv
shell: bash
#- name: Create virtual environment
# run: python -m venv .venv
# shell: bash
- name: Install python dependencies
run: |
source .venv/bin/activate
#source .venv/bin/activate
pip install --upgrade pip setuptools wheel
make develop
shell: bash
Expand All @@ -70,18 +70,18 @@ runs:
- name: Linting
if: inputs.run_lint == 'true'
run: |
source .venv/bin/activate
#source .venv/bin/activate
make lint check-format
shell: bash
- name: Run tests
if: inputs.run_test == 'true'
run: |
source .venv/bin/activate
#source .venv/bin/activate
make test
shell: bash
- name: Build wheel
if: inputs.run_build == 'true'
run: |
source .venv/bin/activate
#source .venv/bin/activate
make build
shell: bash
3 changes: 1 addition & 2 deletions .github/workflows/build-node-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,6 @@ jobs:
install: false
# TODO: Create customizable variables for these?
start: |
. .venv/bin/activate
pg_isready -d db -h ${{ env.POSTGRES_HOSTNAME }} -p ${{ env.POSTGRES_PORT }} -U admin
yarn start dev_server_only=true
make start
Expand Down Expand Up @@ -376,7 +375,7 @@ jobs:
shell: bash
- name: Run playwright e2e tests
run: |
source .venv/bin/activate
#source .venv/bin/activate
yarn run pw:run
shell: bash
- name: Upload playwright report
Expand Down

0 comments on commit 870b945

Please sign in to comment.