diff --git a/.github/workflows/pytestmac.yml b/.github/workflows/pytestmac.yml new file mode 100644 index 00000000..2040bbb7 --- /dev/null +++ b/.github/workflows/pytestmac.yml @@ -0,0 +1,32 @@ +name: Python package + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + +jobs: + build: + + runs-on: macos-14 + + steps: + - uses: actions/checkout@v4 + + - name: Set up Python 3.10 + uses: actions/setup-python@v3 + with: + python-version: 3.10 + + - name: Install Poetry + run: | + curl -sSL https://install.python-poetry.org | python3 - + + - name: Install dependencies + run: | + poetry install + + - name: Run tests + run: | + poetry run pytest \ No newline at end of file