Skip to content

Commit

Permalink
Fix edgetest action (#349)
Browse files Browse the repository at this point in the history
* Fix edgetest

* Fix pyproject

* Update action

* Specify pyspark

* Try manual again

* Remove deps
  • Loading branch information
jdawang authored Nov 5, 2024
1 parent 9c1fe52 commit 59275c9
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 13 deletions.
25 changes: 13 additions & 12 deletions .github/workflows/edgetest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,25 @@ on:
workflow_dispatch: # allows manual dispatch
jobs:
edgetest:
permissions:
contents: write
pull-requests: write
runs-on: ubuntu-latest
name: running edgetest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: develop
ref: ${{ github.ref_name }}

- name: Set up Python 3.10
uses: conda-incubator/setup-miniconda@v2
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@v3
uses: actions/setup-java@v4
with:
java-version: '8'
distribution: 'adopt'
Expand All @@ -34,22 +37,20 @@ jobs:
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@v3
uses: peter-evans/create-pull-request@v7
with:
branch: edgetest-patch
base: develop
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: |
requirements.txt
setup.cfg
pyproject.toml
pyproject.toml
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ ignore_missing_imports = true
python_version = "3.10"
conda_install = ["openjdk=8"]
extras = ["dev"]
command = "pytest tests -m 'not integration'"
command = "pytest tests/ --ignore=tests/test_snowflake.py"
upgrade = [
"pandas",
"numpy",
Expand Down

0 comments on commit 59275c9

Please sign in to comment.