Skip to content
This repository has been archived by the owner on Jan 9, 2025. It is now read-only.

Merge pull request #30 from tsdataclinic/feature/allowed-values #80

Merge pull request #30 from tsdataclinic/feature/allowed-values

Merge pull request #30 from tsdataclinic/feature/allowed-values #80

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
name: Server Tests
on:
push:
branches: [develop]
pull_request:
branches: [develop]
permissions:
contents: read
checks: write
pull-requests: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.12
uses: actions/setup-python@v3
with:
python-version: '3.12'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 pytest
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Test with pytest
run: |
coverage run -m pytest && coverage xml
- name: Get Cover
uses: orgoro/[email protected]
with:
coverageFile: coverage.xml
token: ${{ secrets.GITHUB_TOKEN }}