forked from spudde123/SC2MapAnalysis
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from raspersc2/fix/support-python312
fix: update libraries to support python 3.12
- Loading branch information
Showing
6 changed files
with
1,516 additions
and
1,252 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,38 @@ | ||
name: RunTests | ||
|
||
on: | ||
push: | ||
branches: [ develop ] | ||
pull_request: | ||
branches: [ master, develop ] | ||
workflow_call: | ||
|
||
|
||
jobs: | ||
build: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest, windows-latest, macos-latest] | ||
python-version: [3.11] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up ${{ matrix.python-version }} | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Install dependencies | ||
run: | | ||
pipx install poetry | ||
poetry install --with dev | ||
- name: Test with pytest + Coverage | ||
run: | | ||
poetry run pytest --html=html/${{ matrix.os }}-test-results-${{ matrix.python-version }}.html | ||
- name: Upload pytest test results | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: pytest-results-${{ matrix.os }}-${{ matrix.python-version }} | ||
path: html/${{ matrix.os }}-test-results-${{ matrix.python-version }}.html | ||
# Use always() to always run this step to publish test results when there are test failures | ||
if: ${{ always() }} | ||
#name: RunTests | ||
# | ||
#on: | ||
# push: | ||
# branches: [ develop ] | ||
# pull_request: | ||
# branches: [ master, develop ] | ||
# workflow_call: | ||
# | ||
# | ||
#jobs: | ||
# build: | ||
# runs-on: ${{ matrix.os }} | ||
# strategy: | ||
# matrix: | ||
# os: [ubuntu-latest, windows-latest, macos-latest] | ||
# python-version: [3.12] | ||
# | ||
# steps: | ||
# - uses: actions/checkout@v2 | ||
# - name: Set up ${{ matrix.python-version }} | ||
# uses: actions/setup-python@v2 | ||
# with: | ||
# python-version: ${{ matrix.python-version }} | ||
# - name: Install dependencies | ||
# run: | | ||
# pipx install poetry | ||
# poetry install --with dev | ||
# - name: Test with pytest + Coverage | ||
# run: | | ||
# poetry run pytest --html=html/${{ matrix.os }}-test-results-${{ matrix.python-version }}.html | ||
# - name: Upload pytest test results | ||
# uses: actions/upload-artifact@v4 | ||
# with: | ||
# name: pytest-results-${{ matrix.os }}-${{ matrix.python-version }} | ||
# path: html/${{ matrix.os }}-test-results-${{ matrix.python-version }}.html | ||
# # Use always() to always run this step to publish test results when there are test failures | ||
# if: ${{ always() }} |
Oops, something went wrong.