Skip to content

Commit

Permalink
fix: release
Browse files Browse the repository at this point in the history
  • Loading branch information
SlashGordon committed Nov 17, 2023
1 parent 52f2694 commit df5a52f
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 94 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,10 @@ jobs:
if: steps.cache-deps.outputs.cache-hit != 'true'
- name: Run tests
run: |
source .venv/bin/activate && python3 tools/yaml2json.py
poetry build && poetry run pytest
source .venv/bin/activate
python3 tools/yaml2json.py
poetry build
poetry run pytest
- name: Publish Unit Test Results
uses: EnricoMi/publish-unit-test-result-action@v1
if: always()
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,10 @@ jobs:
if: steps.cache-deps.outputs.cache-hit != 'true'
- name: Run tests
run: |
source .venv/bin/activate && python3 tools/yaml2json.py
poetry build && poetry run pytest
source .venv/bin/activate
python3 tools/yaml2json.py
poetry build
poetry run pytest
- name: Publish Unit Test Results
uses: EnricoMi/publish-unit-test-result-action@v1
if: always()
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,10 @@ jobs:
if: steps.cache-deps.outputs.cache-hit != 'true'
- name: Run tests
run: |
source .venv/bin/activate && python3 tools/yaml2json.py
poetry build && poetry run pytest
source .venv/bin/activate
python3 tools/yaml2json.py
poetry build
poetry run pytest
- name: Publish Unit Test Results
uses: EnricoMi/publish-unit-test-result-action@v1
if: always()
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/symbolscanner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ jobs:
python3 tools/yaml2json.py
export SKIP_TEST_VALID_COUNTRY_NAME='true'
export SKIP_TEST_UNIQUE_TICKER_SYMBOLS='true'
poetry build && poetry run pytest
poetry build
poetry run pytest
- name: Coveralls
uses: AndreMiras/coveralls-python-action@develop
with:
Expand Down
86 changes: 0 additions & 86 deletions .github/workflows/symbolscannersymbols.yml

This file was deleted.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ version_toml = [
branch = "master"
upload_to_pypi = true
upload_to_release = true
build_command = "pip3 install poetry && python3 tools/yaml2json.py && poetry build"
build_command = "poetry build"

[tool.pytest.ini_options]
addopts = "tests/ --junitxml test-results/test.xml --cov src/pytickersymbols --cov-report term-missing"
Expand Down

0 comments on commit df5a52f

Please sign in to comment.