Skip to content

feat(utils): updated the function to check compliance array #77

feat(utils): updated the function to check compliance array

feat(utils): updated the function to check compliance array #77

# This workflow will upload a Python Package using Twine when a release is created
# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries
name: Test development branch
on:
push:
branches:
- development
jobs:
test:
# I am only testing with py310 but travis is Testing the other versions of Python
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ '3.9', '3.11' ]
platform: [ubuntu-latest]
steps:
- uses: actions/checkout@v3
- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install Tox and any other packages
run: |
python -m pip install --upgrade pip
python -m pip install "tox<4" tox-gh-actions
- name: Run Tox
run: |
tox
env:
PLATFORM: ${{ matrix.platform }}
# deploy:
#
# needs: test
#
# runs-on: ubuntu-latest
#
# steps:
# - uses: actions/checkout@v3
# - name: Set up Python 🐍
# uses: actions/setup-python@v4
# with:
# python-version: '3.10'
# - name: Install dependencies
# run: |
# python -m pip install --upgrade pip
# pip install setuptools wheel twine
# - name: Publish pythermalcomfort 📦 to Test PyPI
# env:
# TWINE_USERNAME: "__token__"
# TWINE_PASSWORD: ${{ secrets.TEST_PYPI_API_TOKEN }}
# run: |
# python setup.py sdist bdist_wheel
# python -m twine upload --skip-existing --repository-url https://test.pypi.org/legacy/ dist/*.gz dist/*.whl