Skip to content

Commit

Permalink
Troubleshooting breaking changes in artifact upload action
Browse files Browse the repository at this point in the history
  • Loading branch information
NeonDaniel committed Sep 12, 2024
1 parent 1dd32eb commit 95a41a2
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,62 +46,62 @@ jobs:

- name: Test Client
run: |
pytest tests/test_client.py --doctest-modules --junitxml=tests/client-test-results.xml
pytest tests/test_client.py --doctest-modules --junitxml=tests/client-test-results-${{matrix.python-version}}
env:
MAP_MAKER_KEY: ${{secrets.map_maker_key}}

- name: Test Cached API
run: |
pytest tests/test_cached_api.py --doctest-modules --junitxml=tests/cached-api-test-results.xml
pytest tests/test_cached_api.py --doctest-modules --junitxml=tests/cached-api-test-results-${{matrix.python-version}}
- name: Upload cached API test results
uses: actions/upload-artifact@v4
with:
name: cached-api-test-results
path: tests/cached-api-test-results.xml
path: tests/cached-api-test-results-${{matrix.python-version}}

- name: Test Wolfram API
run: |
pytest tests/test_wolfram_api.py --doctest-modules --junitxml=tests/wolfram-api-test-results.xml
pytest tests/test_wolfram_api.py --doctest-modules --junitxml=tests/wolfram-api-test-results-${{matrix.python-version}}
- name: Upload Wolfram API test results
uses: actions/upload-artifact@v4
with:
name: wolfram-api-test-results
path: tests/wolfram-api-test-results.xml
path: tests/wolfram-api-test-results-${{matrix.python-version}}

- name: Test Alpha Vantage API
run: |
pytest tests/test_alpha_vantage_api.py --doctest-modules --junitxml=tests/alphavantage-api-test-results.xml
pytest tests/test_alpha_vantage_api.py --doctest-modules --junitxml=tests/alphavantage-api-test-results-${{matrix.python-version}}
- name: Upload Alpha Vantage API test results
uses: actions/upload-artifact@v4
with:
name: alphavantage-api-test-results
path: tests/alphavantage-api-test-results.xml
path: tests/alphavantage-api-test-results-${{matrix.python-version}}

- name: Test OWM API
run: |
pytest tests/test_owm_api.py --doctest-modules --junitxml=tests/owm-api-test-results.xml
pytest tests/test_owm_api.py --doctest-modules --junitxml=tests/owm-api-test-results-${{matrix.python-version}}
- name: Upload Open Weather Map API test results
uses: actions/upload-artifact@v4
with:
name: owm-api-test-results
path: tests/owm-api-test-results.xml
path: tests/owm-api-test-results-${{matrix.python-version}}

- name: Test Map Maker API
run: |
pytest tests/test_map_maker_api.py --doctest-modules --junitxml=tests/map-maker-api-test-results.xml
pytest tests/test_map_maker_api.py --doctest-modules --junitxml=tests/map-maker-api-test-results-${{matrix.python-version}}
env:
MAP_MAKER_KEY: ${{secrets.map_maker_key}}
- name: Upload Map Maker API test results
uses: actions/upload-artifact@v4
with:
name: map-maker-api-test-results
path: tests/map-maker-api-test-results.xml
path: tests/map-maker-api-test-results-${{matrix.python-version}}

- name: Test Generic API
run: |
pytest tests/test_generic_controller.py --doctest-modules --junitxml=tests/generic-controller-test-results.xml
pytest tests/test_generic_controller.py --doctest-modules --junitxml=tests/generic-controller-test-results-${{matrix.python-version}}
- name: Upload Generic API test results
uses: actions/upload-artifact@v4
with:
name: generic-controller-test-results
path: tests/generic-controller-test-results.xml
path: tests/generic-controller-test-results-${{matrix.python-version}}

0 comments on commit 95a41a2

Please sign in to comment.