Skip to content

Commit

Permalink
update gh actions
Browse files Browse the repository at this point in the history
  • Loading branch information
jdebacker committed Feb 13, 2024
1 parent 9f0de40 commit 8f0d6e2
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check_jupyterbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deploy_jupyterbook.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Build and Deploy Jupyter Book
on:
push:
branches:
branches:
- master
jobs:
build-and-deploy:
Expand All @@ -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
Expand Down

0 comments on commit 8f0d6e2

Please sign in to comment.