Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
# Conflicts:
#	requirements.txt
  • Loading branch information
spudde123 committed Sep 1, 2023
2 parents dbd2bda + 08200b3 commit 99fa7af
Show file tree
Hide file tree
Showing 32 changed files with 2,187 additions and 1,372 deletions.
74 changes: 37 additions & 37 deletions .github/workflows/build_on_setup.yml
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() }}
Loading

0 comments on commit 99fa7af

Please sign in to comment.