forked from eladyaniv01/SC2MapAnalysis
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
# Conflicts: # requirements.txt
- Loading branch information
Showing
32 changed files
with
2,187 additions
and
1,372 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,37 @@ | ||
name: BuildOnSetup | ||
|
||
on: | ||
push: | ||
branches: [ master, develop ] | ||
pull_request: | ||
branches: [ master, develop ] | ||
|
||
|
||
jobs: | ||
build: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest, windows-latest, macos-latest] # windows-latest need to figure out how to run on win64 | ||
python-version: [3.7, 3.8, 3.9] | ||
|
||
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: | | ||
python -m pip install --upgrade pip | ||
pip install .[dev] | ||
- name: Test with pytest + Coverage | ||
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: BuildOnSetup | ||
# | ||
#on: | ||
# push: | ||
# branches: [ master, develop ] | ||
# pull_request: | ||
# branches: [ master, develop ] | ||
# | ||
# | ||
#jobs: | ||
# build: | ||
# runs-on: ${{ matrix.os }} | ||
# strategy: | ||
# matrix: | ||
# os: [ubuntu-latest, windows-latest, macos-latest] # windows-latest need to figure out how to run on win64 | ||
# python-version: [3.9] | ||
# | ||
# 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: | | ||
# python -m pip install --upgrade pip | ||
# pip install .[dev] | ||
# - name: Test with pytest + Coverage | ||
# 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() }} |
Oops, something went wrong.