mirror of
https://github.com/venomade/calculator.git
synced 2026-11-16 18:27:39 +00:00
Add calculator CI workflow
This commit is contained in:
1 parent
87acb87798
commit
bf6cdbd999
1 file changed
+25
@@ -0,0 +1,25 @@
|
||||
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
|
||||
Reference in new issue
Block a user