Skip to content

license change to Mozilla Public License Version 2.0 #114

license change to Mozilla Public License Version 2.0

license change to Mozilla Public License Version 2.0 #114

Workflow file for this run

name: macos_tests
on:
push:
branches:
- main # Change this to your main branch name if different
jobs:
run-tests:
if: contains(github.event.head_commit.message, 'test')
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ '3.10', '3.11' ]
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: pip install -r requirements.txt
- name: Run unit tests
run: python -m unittest discover -s ./tests -t ./
no-op:
if: "!contains(github.event.head_commit.message, 'test')"
runs-on: ubuntu-latest
steps:
- name: No operation
run: echo "No tests to run"
# macos13:
# if: contains(github.event.head_commit.message, 'test')
# runs-on: macos-13
# strategy:
# matrix:
# python-version: [ '3.10', '3.11' ]
# steps:
# - name: Checkout code
# uses: actions/checkout@v2
#
# - name: Set up Python
# uses: actions/setup-python@v2
# with:
# python-version: ${{ matrix.python-version }}
#
# - name: Install dependencies
# run: pip install -r requirements.txt
#
# - name: Run unit tests
# run: python -m unittest discover -s ./tests -t .