-
Notifications
You must be signed in to change notification settings - Fork 2.3k
51 lines (43 loc) · 1.19 KB
/
Copy pathsave_versions.yml
File metadata and controls
51 lines (43 loc) · 1.19 KB
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
name: Save package versions
# no permissions by default
permissions: {}
on:
pull_request:
push:
branches:
- main
jobs:
run:
runs-on: ubuntu-latest
permissions:
actions: write
steps:
- name: Checkout Folium
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 0
persist-credentials: false
- name: Setup Micromamba env
uses: mamba-org/setup-micromamba@f457c30a868e4760d3a6fcea5f25dc655b8edf39 # v3.2.1
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@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: versions.txt
path: /tmp/versions.txt
fail-on-empty: false