Skip to content

Commit

Permalink
Release v3.0.0 (#69)
Browse files Browse the repository at this point in the history
  • Loading branch information
BeyondEvil committed Jan 6, 2024
1 parent 2fdb15e commit b28818a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
publish:
if: github.repository == 'pytest-dev/pytest-base-url'
if: github.repository == 'pytest-dev/pytest-metadata'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down
1 change: 1 addition & 0 deletions src/pytest_metadata/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ def pytest_configure(config):
config.stash[metadata_key].update(
json.loads(config.getoption("metadata_from_json"))
)

if config.getoption("metadata_from_json_file"):
with open(config.getoption("metadata_from_json_file"), "r") as json_file:
config.stash[metadata_key].update(json.load(json_file))
Expand Down

0 comments on commit b28818a

Please sign in to comment.