Skip to content

build

build #12

Workflow file for this run

name: build
on:
# Triggers the workflow on push or pull request events but only for the main branch
push:
branches: [master]
pull_request:
branches: [master]
#: Run the test every week
schedule:
- cron: '0 12 1 * *'
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ['3.10']
os: [macos-latest]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
cd python
pip install -r requirements.txt
- name: Run tests
run: |
cd python
python -m unittest