Skip to content

Commit 6530b64

Browse files
committed
Add Pipenv and GH
1 parent bbdf512 commit 6530b64

File tree

4 files changed

+1836
-0
lines changed

4 files changed

+1836
-0
lines changed

.github/workflows/build.yaml

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: build
2+
3+
on:
4+
push:
5+
pull_request:
6+
workflow_dispatch:
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
- name: Set up Python
14+
uses: actions/setup-python@v5
15+
with:
16+
python-version: '3.12.3'
17+
architecture: 'x64'
18+
- name: Install dependencies
19+
run: |
20+
python -m pip install --upgrade pip setuptools wheel pipenv pytest pytest-cov
21+
pip install pipenv
22+
pipenv install --dev
23+
- name: Run tests
24+
run: |
25+
pipenv run pytest --junitxml=junit/test-results.xml --cov=contract --cov-report=xml --cov-report=html

Pipfile

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
[[source]]
2+
name = "pypi"
3+
url = "https://pypi.org/simple"
4+
verify_ssl = true
5+
6+
[packages]
7+
algokit = "==2.2.3"
8+
puyapy = ">=2.2.0"
9+
algopy = "*"
10+
algorand-python-testing = "*"
11+
12+
[dev-packages]
13+
pytest = "*"
14+
pytest-cov = "*"
15+
16+
[requires]
17+
python_version = "3.12.3"

0 commit comments

Comments
 (0)