From 5b325d75d951c2c90149664c7631f17d28fe4798 Mon Sep 17 00:00:00 2001 From: Evgenii Titov <1994etitov@gmail.com> Date: Thu, 8 Dec 2022 15:47:35 +1100 Subject: [PATCH] Added MacOS to CI tests --- .github/workflows/code-checker.yaml | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/.github/workflows/code-checker.yaml b/.github/workflows/code-checker.yaml index fc1216f..5d0992f 100644 --- a/.github/workflows/code-checker.yaml +++ b/.github/workflows/code-checker.yaml @@ -4,7 +4,7 @@ on: [push, pull_request] jobs: - Test-Linux: + test-linux: runs-on: ubuntu-latest strategy: matrix: @@ -23,7 +23,7 @@ jobs: - name: Run tests run: make test - Test-Windows: + test-windows: runs-on: windows-latest strategy: matrix: @@ -42,6 +42,26 @@ jobs: - name: Run tests run: make test + test-macOS: + runs-on: macos-latest + strategy: + matrix: + python-version: [ "3.9" ] + + steps: + - uses: actions/checkout@v3 + - 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 + pip install -r requirements-dev.txt + - name: Run tests + run: make test + + Run-Linters: runs-on: ubuntu-latest steps: