Skip to content

Bump github/codeql-action from 3.28.0 to 3.28.1 #3450

Bump github/codeql-action from 3.28.0 to 3.28.1

Bump github/codeql-action from 3.28.0 to 3.28.1 #3450

Workflow file for this run

name: Tests
on:
push:
pull_request:
workflow_dispatch:
schedule:
- cron: '17 22 * * *'
permissions: read-all
env:
OMP_NUM_THREADS: 2
jobs:
tests:
name: Tests
runs-on: ubuntu-latest
container:
image: ghcr.io/sblauth/cashocs:main
options: --user=root
steps:
- name: Delete current installation in docker image
shell: bash
run: |
source /usr/local/bin/_entrypoint.sh
pip uninstall -y cashocs
rm -R /home/mambauser/cashocs
- name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Install cashocs
shell: bash
run: |
source /usr/local/bin/_entrypoint.sh
pip install .[all]
- name: Run tests
shell: bash
run: |
source /usr/local/bin/_entrypoint.sh
python3 -m pytest -vv --cov=cashocs --cov-report=xml tests/
- name: Upload coverage to codecov.io
uses: codecov/codecov-action@1e68e06f1dbfde0e4cefc87efeba9e4643565303 # v5.1.2
with:
files: coverage.xml
token: ${{ secrets.CODECOV_TOKEN }}