From 421d75db129c13db546dee6593c9e3da3c5efab5 Mon Sep 17 00:00:00 2001 From: "Lucas Shen Y. S" Date: Thu, 4 Apr 2024 15:24:02 +0800 Subject: [PATCH] Update Pkg-CLI.yml (#59) --- .github/workflows/Pkg-CLI.yml | 42 +++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/.github/workflows/Pkg-CLI.yml b/.github/workflows/Pkg-CLI.yml index 05d6b4e..4da9c64 100644 --- a/.github/workflows/Pkg-CLI.yml +++ b/.github/workflows/Pkg-CLI.yml @@ -24,3 +24,45 @@ jobs: run: | rbstata assets/datasets/auto.dta --target-version 13 --verbose + + build_macOS: + runs-on: macos-latest + strategy: + fail-fast: false + matrix: + python-version: [ '3.7', '3.8', '3.9', '3.10', '3.11' ] + steps: + - uses: actions/checkout@v3 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v3 + with: + python-version: ${{ matrix.python-version }} + - name: Install dependencies + run: | + python -m pip install --upgrade pip + python -m pip install rbstata + if [ -f requirements.txt ]; then pip install -r requirements.txt; fi + - name: Test run in CL + run: | + rbstata assets/datasets/auto.dta --target-version 13 --verbose + + build_windows: + runs-on: windows-latest + strategy: + fail-fast: false + matrix: + python-version: [ '3.7', '3.8', '3.9', '3.10', '3.11' ] + steps: + - uses: actions/checkout@v3 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v3 + with: + python-version: ${{ matrix.python-version }} + - name: Install dependencies + run: | + python -m pip install --upgrade pip + python -m pip install rbstata + python -m pip install -r requirements.txt + - name: Test run in CL + run: | + rbstata assets/datasets/auto.dta --target-version 13 --verbose