Files
OpenMensa-Parser-STW-Potsdam/.circleci/config.yml
T
2022-11-01 23:23:03 +01:00

42 lines
1.7 KiB
YAML

version: 2.1
orbs:
python: circleci/python@1.5.0
jobs:
build-and-test:
docker:
- image: cimg/python:3.11
steps:
- checkout
- run:
name: Install Dependencies
command: make dependencies
- run:
name: Lint
command: make lint
- run:
name: Test
command: make test
- run:
name: Publish Coverage
command: make coverage_publish
- run:
name: Report Coverage
command: make coverage_report
workflows:
default:
jobs:
- build-and-test
nightly-build:
triggers:
- schedule:
cron: "5 10 * * 1-5"
filters:
branches:
only: master
jobs:
- build-and-test:
context: nightly