Test feature branch #8
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: Automaticalyl test linting and unit tests | |
on: | |
pull_request: | |
branches: | |
- main | |
permissions: | |
id-token: write | |
contents: read | |
jobs: | |
checks: | |
runs-on: ubuntu-latest | |
environment: dev | |
steps: | |
- name: Check out repo | |
uses: actions/checkout@main | |
- name: Use Python version 3.8 | |
uses: actions/setup-python@v3 | |
with: | |
python-version: '3.8' | |
# - name: Install Flake8 | |
# run: | | |
# python -m pip install flake8 | |
# - name: Run linting tests | |
# run: | | |
# flake8 src/model/ | |
- name: Run unittests | |
run: | | |
pip install -r requirements.txt && pytest tests/ |