-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (37 loc) · 1.01 KB
/
test.yml
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
on:
push:
branches: [gha]
workflow_dispatch:
jobs:
run:
strategy:
matrix:
os:
- ubuntu
- macos
- windows
runs-on: ${{ matrix.os }}-latest
name: Generate parquet/metadata for ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.SSH_SECRET_KEY }}
- name: Set up Python 3.11.7
uses: actions/setup-python@v4
with:
python-version: 3.11.7
cache: 'pip'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .
- name: Configure Git for committing
run: |
git config --global user.email "ci@github"
git config --global user.name "GitHub Actions"
- name: Generate .parquets, metadata
run: ./run.sh
shell: bash
- name: Push to ${{ matrix.os }} branch
run: git push -f origin HEAD:${{ matrix.os }}