Skip to content

Potential fix for code scanning alert no. 2: Workflow does not contain permissions #191

Potential fix for code scanning alert no. 2: Workflow does not contain permissions

Potential fix for code scanning alert no. 2: Workflow does not contain permissions #191

Workflow file for this run

name: Test
on:
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: '3.10'
- name: Install the package and dependencies
run: python -m pip install -U pip && pip install flake8 pytest && pip install -e .[caption]
- name: pytest
run: pytest
- name: Flake8
run: flake8