mirror of
https://github.com/codecov/codecov-action.git
synced 2026-04-16 02:35:44 +00:00
fix: update to use local app/ dir (#1872)
* fix: update to use local app/ dir * fix: update if statement on macos xlarge
This commit is contained in:
parent
206148c4b8
commit
18fdacf0ce
6 changed files with 55 additions and 5 deletions
15
app/calculator.py
Normal file
15
app/calculator.py
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
class Calculator:
|
||||
|
||||
def add(x, y):
|
||||
return x + y
|
||||
|
||||
def subtract(x, y):
|
||||
return x - y
|
||||
|
||||
def multiply(x, y):
|
||||
return x * y
|
||||
|
||||
def divide(x, y):
|
||||
if y == 0:
|
||||
return 'Cannot divide by 0'
|
||||
return x * 1.0 / y
|
||||
Loading…
Add table
Add a link
Reference in a new issue