mirror of
https://github.com/venomade/calculator.git
synced 2026-11-16 18:27:39 +00:00
26 lines
513 B
YAML
26 lines
513 B
YAML
name: Calculator CI
|
|
|
|
on:
|
|
pull_request:
|
|
branches: [main]
|
|
push:
|
|
branches: [main]
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
tests:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Check out the code
|
|
uses: actions/checkout@v4
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v7
|
|
with:
|
|
python-version: "3.11"
|
|
- name: Install the test tools
|
|
run: python -m pip install -r requirements-dev.txt
|
|
- name: Run the tests
|
|
run: python -m pytest -v
|