FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
formate/.github/workflows/conda_ci.yml at master · python-formate/formate · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
python-formate
/
formate
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
0
Star
6
Code
Issues
0
Pull requests
0
Discussions
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
formate
/
.github
/
workflows
/
conda_ci.yml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
67 lines (57 loc) · 1.94 KB
Breadcrumbs
formate
/
.github
/
workflows
/
conda_ci.yml
Copy path
File metadata and controls
67 lines (57 loc) · 1.94 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
#
This file is managed by 'repo_helper'. Don't edit it directly.
---
name
:
Conda Tests
on
:
push
:
branches
:
["master"]
jobs
:
tests
:
name
:
"
Conda
"
permissions
:
contents
:
read
runs-on
:
ubuntu-22.04
defaults
:
run
:
shell
:
bash -l {0}
steps
:
-
name
:
Checkout 🛎️
uses
:
"
actions/checkout@v4
"
-
name
:
Setup Python 🐍
uses
:
"
actions/setup-python@v5
"
with
:
python-version
:
"
3.11
"
-
name
:
Setup Conda
uses
:
conda-incubator/setup-miniconda@v2.1.1
with
:
activate-environment
:
env
conda-build-version
:
3.28.4
miniconda-version
:
py311_24.1.2-0
python-version
:
"
3.11
"
miniforge-variant
:
Mambaforge
-
name
:
Install dependencies 🔧
run
:
|
python -VV
python -m site
python -m pip install --upgrade pip setuptools wheel
python -m pip install --upgrade "whey-conda" "whey"
# $CONDA is an environment variable pointing to the root of the miniconda directory
$CONDA/bin/conda update -n base conda
$CONDA/bin/conda config --add channels conda-forge
$CONDA/bin/conda config --add channels domdfcoding
-
name
:
"
Build and index channel
"
run
:
|
python -m whey --builder whey_conda --out-dir conda-bld/noarch
$CONDA/bin/conda index ./conda-bld || exit 1
-
name
:
"
Search for package
"
run
:
|
$CONDA/bin/conda search -c file://$(pwd)/conda-bld formate
$CONDA/bin/conda search -c file://$(pwd)/conda-bld --override-channels formate
-
name
:
"
Install package
"
run
:
|
$CONDA/bin/conda install -c file://$(pwd)/conda-bld formate=1.2.1=py_1 -y || exit 1
-
name
:
"
Run Tests
"
run
:
|
rm -rf formate
$CONDA/bin/conda install pytest coincidence || exit 1
pip install -r tests/requirements.txt
pytest tests/
Back
|
FazBrowse Home
|
New Git URL