From 9d5f3e7663371c62021b778afdcd052e2d33a330 Mon Sep 17 00:00:00 2001 From: evelynmitchell Date: Thu, 1 Feb 2024 09:58:08 -0700 Subject: [PATCH] new test on macos --- .github/workflows/pytestmac.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/pytestmac.yml 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