diff --git a/.github/workflows/edgetest.yml b/.github/workflows/edgetest.yml index e47ca6f..cbf2ff0 100644 --- a/.github/workflows/edgetest.yml +++ b/.github/workflows/edgetest.yml @@ -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' @@ -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 \ No newline at end of file + pyproject.toml diff --git a/pyproject.toml b/pyproject.toml index 9c86c82..d7e31e8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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",