diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index 205ae88..0c5f184 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -1,4 +1,4 @@ -name: Build and test [Python 3.7, 3.8, 3.9] +name: Build and test [Python 3.9, 3.10, 3.11] on: [push, pull_request] @@ -7,11 +7,11 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.7, 3.8, 3.9] + python-version: [3.9, "3.10", "3.11"] steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@master with: persist-credentials: false @@ -35,8 +35,9 @@ jobs: run: | pytest -m 'not full_run and not regression' --cov=./ --cov-report=xml - name: Upload coverage to Codecov - uses: codecov/codecov-action@v2 + uses: codecov/codecov-action@v4 with: + token: ${{ secrets.CODECOV_TOKEN }} files: ./coverage.xml flags: unittests name: codecov-umbrella diff --git a/.github/workflows/check_black.yml b/.github/workflows/check_black.yml index 9b013e0..4d8a326 100644 --- a/.github/workflows/check_black.yml +++ b/.github/workflows/check_black.yml @@ -6,7 +6,7 @@ jobs: lint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@master - uses: psf/black@stable with: options: "--line-length 79 --check --verbose" diff --git a/.github/workflows/deploy_docs.yml b/.github/workflows/deploy_docs.yml index 8efc711..7929be5 100644 --- a/.github/workflows/deploy_docs.yml +++ b/.github/workflows/deploy_docs.yml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 # If you're using actions/checkout@v2 you must set persist-credentials to false in most cases for the deployment to work correctly. + uses: actions/checkout@master with: persist-credentials: false @@ -18,14 +18,12 @@ jobs: with: activate-environment: iot-dev environment-file: environment.yml - python-version: 3.8 + python-version: 3.11 auto-activate-base: false - name: Build # Build Jupyter Book shell: bash -l {0} run: | - pip install jupyter-book - pip install sphinxcontrib-bibtex==2.2.0 pip install -e . cd docs jb build ./book diff --git a/.github/workflows/docs_check.yml b/.github/workflows/docs_check.yml index f86b9e1..8d3366f 100644 --- a/.github/workflows/docs_check.yml +++ b/.github/workflows/docs_check.yml @@ -6,7 +6,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 # If you're using actions/checkout@v2 you must set persist-credentials to false in most cases for the deployment to work correctly. + uses: actions/checkout@master with: persist-credentials: false @@ -15,14 +15,12 @@ jobs: with: activate-environment: iot-dev environment-file: environment.yml - python-version: 3.8 + python-version: 3.11 auto-activate-base: false - name: Build # Build Jupyter Book shell: bash -l {0} run: | - pip install jupyter-book - pip install sphinxcontrib-bibtex==2.2.0 pip install -e . cd docs jb build ./book diff --git a/environment.yml b/environment.yml index 02f8c50..58600bd 100644 --- a/environment.yml +++ b/environment.yml @@ -18,4 +18,7 @@ dependencies: - jupyter-book>=0.9.1 - black - plotly-express - - kaleido \ No newline at end of file + - kaleido + - typing_extensions + - jupyter-book + - sphinxcontrib-bibtex \ No newline at end of file