From 8f0d6e24153efd0ce011682152ea6e5d9bbae285 Mon Sep 17 00:00:00 2001 From: jdebacker Date: Tue, 13 Feb 2024 06:42:22 -0500 Subject: [PATCH] update gh actions --- .github/workflows/build_and_test.yml | 9 +++++---- .github/workflows/check_jupyterbook.yml | 2 +- .github/workflows/deploy_jupyterbook.yml | 4 ++-- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index 0b3e63b..2153e38 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -1,13 +1,14 @@ -name: Build Package and Test Source Code [Python 3.7, 3.8] +name: Build Package and Test Source Code [Python 3.9, 3.10, 3.11] on: [push, pull_request] jobs: build: - runs-on: ubuntu-latest + runs-on: ${{ matrix.os }} strategy: matrix: - python-version: [3.7, 3.8] + os: [ubuntu-latest, macos-latest, windows-latest] + python-version: ["3.9", "3.10", "3.11"] steps: - name: Checkout @@ -35,7 +36,7 @@ jobs: run: | pytest --cov=./ --cov-report=xml - name: Upload coverage to Codecov - uses: codecov/codecov-action@v1 + uses: codecov/codecov-action@v3 with: token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos file: ./coverage.xml diff --git a/.github/workflows/check_jupyterbook.yml b/.github/workflows/check_jupyterbook.yml index 40b31f6..93761a9 100644 --- a/.github/workflows/check_jupyterbook.yml +++ b/.github/workflows/check_jupyterbook.yml @@ -15,7 +15,7 @@ jobs: with: activate-environment: taxbrain-dev environment-file: environment.yml - python-version: 3.7 + python-version: "3.10" auto-activate-base: false - name: Build # Build Jupyter Book diff --git a/.github/workflows/deploy_jupyterbook.yml b/.github/workflows/deploy_jupyterbook.yml index eab0195..697bf24 100644 --- a/.github/workflows/deploy_jupyterbook.yml +++ b/.github/workflows/deploy_jupyterbook.yml @@ -1,7 +1,7 @@ name: Build and Deploy Jupyter Book on: push: - branches: + branches: - master jobs: build-and-deploy: @@ -18,7 +18,7 @@ jobs: with: activate-environment: taxbrain-dev environment-file: environment.yml - python-version: 3.7 + python-version: "3.10" auto-activate-base: false - name: Build # Build Jupyter Book