1 parent 73010b3 commit 2a9b94aCopy full SHA for 2a9b94a
1 file changed
.github/workflows/binder.yml
@@ -0,0 +1,31 @@
1
+name: Binder
2
+on:
3
+ push:
4
+ branches:
5
+ - main
6
+ pull_request:
7
8
9
+jobs:
10
+ binder:
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - name: Checkout code
14
+ uses: actions/checkout@v3
15
+ - name: Cache Binder environment
16
+ uses: actions/cache@v3
17
+ with:
18
+ path: ~/.cache/pip
19
+ key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
20
+ restore-keys: |
21
+ ${{ runner.os }}-pip-
22
+ - name: Set up Python
23
+ uses: actions/setup-python@v4
24
25
+ python-version: '3.11'
26
+ - name: Install dependencies
27
+ run: |
28
+ pip install -r requirements.txt
29
+ - name: Run Binder build
30
31
+ echo "Binder environment is ready for use."
0 commit comments