Skip to content

Commit

Permalink
try to fix path again
Browse files Browse the repository at this point in the history
  • Loading branch information
krneta committed Apr 30, 2024
1 parent 3b1a63d commit 85719cd
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
env:
GH_PRIVATE_TOKEN: ${{secrets.TEMP_PAT_EXP_JUL_28}}
run: |
tox -e unit-tests
tox -e gh-action-unit-tests
- name: Upload coverage report to Codecov
uses: codecov/codecov-action@v3
if: ${{ strategy.job-index }} == 0
17 changes: 16 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,22 @@
[tox]
envlist = linters,docs,unit-tests

[testenv:gh-action-unit-tests]
basepython = python3
passenv = *
setenv =
JULIA_PKG_USE_CLI_GIT=true
JULIA_CONDAPKG_BACKEND="Null"
# {posargs} contains additional arguments specified when invoking tox. e.g. tox -- -s -k test_foo.py
deps =
{[test-deps]deps}
allowlist_externals =
sed
commands =
sed -i '' -e 's/[email protected]:amazon-braket\/BraketSimulator.jl.git/https:\/\/{env:'$GH_PRIVATE_TOKEN'}@github.com:amazon-braket\/BraketSimulator.jl.git/' ${env:GITHUB_WORKSPACE}/../src/braket/juliapkg.json
{[testenv:unit-tests]commands}
extras = test

[testenv:unit-tests]
basepython = python3
passenv = *
Expand All @@ -14,7 +30,6 @@ allowlist_externals =
pytest
sed
commands =
sed -i '' -e 's/[email protected]:amazon-braket\/BraketSimulator.jl.git/https:\/\/{env:'$GH_PRIVATE_TOKEN'}@github.com:amazon-braket\/BraketSimulator.jl.git/' ${env:GITHUB_WORKSPACE}/src/braket/juliapkg.json
pytest {posargs} --cov-report term-missing --cov-report html --cov-report xml --cov=braket
extras = test

Expand Down

0 comments on commit 85719cd

Please sign in to comment.