Bump cloudpickle from 3.1.0 to 3.1.1 #343
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "CI Tests" | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
concurrency: | |
group: build-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
code-ql-check: | |
name: "Jupyter Workflow CodeQL check" | |
runs-on: ubuntu-22.04 | |
permissions: | |
security-events: write | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: github/codeql-action/init@v3 | |
with: | |
config-file: .github/codeql/config.yml | |
languages: python | |
- uses: github/codeql-action/analyze@v3 | |
static-checks: | |
name: "Jupyter Workflow static checks" | |
runs-on: ubuntu-22.04 | |
strategy: | |
matrix: | |
step: [ "bandit", "lint" ] | |
env: | |
TOXENV: ${{ matrix.step }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3.13" | |
cache: pip | |
cache-dependency-path: | | |
requirements.txt | |
tox.ini | |
- name: "Install Python Dependencies and Jupyter Workflow" | |
run: | | |
python -m pip install tox --user | |
python -m pip install . --user | |
- name: "Run Jupyter Workflow static analysis via Tox" | |
run: tox | |
unit-tests: | |
name: "Jupyter Workflow unit tests" | |
runs-on: ubuntu-22.04 | |
strategy: | |
matrix: | |
python: [ "3.9", "3.10", "3.11", "3.12", "3.13" ] | |
env: | |
TOXENV: ${{ format('py{0}-unit', matrix.python) }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python }} | |
cache: pip | |
cache-dependency-path: | | |
requirements.txt | |
tox.ini | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: "20" | |
- uses: docker/setup-qemu-action@v3 | |
- name: "Install Python Dependencies and Jupyter Workflow" | |
run: | | |
python -m pip install tox --user | |
python -m pip install . --user | |
- name: "Run Jupyter Workflow tests via Tox" | |
run: tox | |
- name: "Upload coverage report for unit tests" | |
uses: actions/upload-artifact@v4 | |
with: | |
name: ${{ format('py{0}-unit-tests', matrix.python) }} | |
path: ./coverage.xml | |
retention-days: 1 | |
if-no-files-found: error | |
upload-to-codecov: | |
name: "Codecov report upload" | |
needs: [ "unit-tests" ] | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: "Download artifacts" | |
uses: actions/download-artifact@v4 | |
- name: "Upload coverage to Codecov" | |
uses: codecov/codecov-action@v5 | |
with: | |
fail_ci_if_error: true | |
token: ${{ secrets.CODECOV_TOKEN }} |