Skip to content

Commit 6ac6a58

Browse files
committed
Add a tests to save all package versions
1 parent 210b398 commit 6ac6a58

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: Save package versions
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches:
7+
- main
8+
9+
jobs:
10+
run:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- name: Checkout Folium
15+
uses: actions/checkout@v4
16+
17+
- name: Setup Micromamba env
18+
uses: mamba-org/setup-micromamba@v2
19+
with:
20+
environment-name: TEST
21+
create-args: >-
22+
python=3
23+
--file requirements.txt
24+
--file requirements-dev.txt
25+
26+
- name: Install folium from source
27+
shell: bash -l {0}
28+
run: |
29+
python -m pip install -e . --no-deps --force-reinstall
30+
31+
- name: Install folium from source
32+
shell: bash -l {0}
33+
run: |
34+
conda list > versions.txt
35+
36+
- name: Save version.txt
37+
if: always()
38+
uses: pmeier/pytest-results-action@main
39+
with:
40+
path: versions.txt
41+
fail-on-empty: false

0 commit comments

Comments
 (0)