-
Notifications
You must be signed in to change notification settings - Fork 2.3k
43 lines (36 loc) · 919 Bytes
/
save_versions.yml
File metadata and controls
43 lines (36 loc) · 919 Bytes
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
name: Save package versions
on:
pull_request:
push:
branches:
- main
jobs:
run:
runs-on: ubuntu-latest
steps:
- name: Checkout Folium
uses: actions/checkout@v6
- name: Setup Micromamba env
uses: mamba-org/setup-micromamba@v2
with:
environment-name: TEST
create-args: >-
python=3
--file requirements.txt
--file requirements-dev.txt
- name: Install folium from source
shell: bash -l {0}
run: |
python -m pip install -e . --no-deps --force-reinstall
- name: Create versions.txt
shell: bash -l {0}
run: |
conda list > /tmp/versions.txt
chromium --version >> /tmp/versions.txt
- name: Save versions.txt
if: always()
uses: actions/upload-artifact@v7
with:
name: versions.txt
path: /tmp/versions.txt
fail-on-empty: false