-
Notifications
You must be signed in to change notification settings - Fork 130
56 lines (50 loc) · 1.55 KB
/
edgetest.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# This workflow runs edgetest on datacompy @ 17:30 UTC Fridays.
# https://github.com/edgetest-dev/run-edgetest-action
name: Run edgetest
on:
schedule:
- cron: '30 17 * * 5'
workflow_dispatch: # allows manual dispatch
jobs:
edgetest:
permissions:
contents: write
pull-requests: write
runs-on: ubuntu-latest
name: running edgetest
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.ref_name }}
- name: Set up Python 3.10
uses: conda-incubator/setup-miniconda@v3
with:
auto-update-conda: true
python-version: '3.10'
channels: conda-forge
- name: Setup Java JDK
uses: actions/setup-java@v4
with:
java-version: '8'
distribution: 'adopt'
- name: Install edgetest
shell: bash -el {0}
run: |
conda install pip
conda install edgetest edgetest-conda
python -m pip install .[dev]
- name: Run edgetest
shell: bash -el {0}
run: |
edgetest -c pyproject.toml --export
- name: Create Pull Request
uses: peter-evans/create-pull-request@v7
with:
branch: edgetest-patch
base: ${{ github.ref_name }}
delete-branch: true
title: Changes by run-edgetest action
commit-message: '[edgetest] automated change'
body: Automated changes by [run-edgetest-action](https://github.com/edgetest-dev/run-edgetest-action) GitHub action
add-paths: |
pyproject.toml