From ee7f51b3c1f0870a078df3764c1d78219f515e14 Mon Sep 17 00:00:00 2001 From: Jacob Dawang Date: Fri, 1 Nov 2024 15:20:14 -0600 Subject: [PATCH] Update edgetest python version (#309) * Update edgetest python version * Add workflow_dispatch * Test action * Python version in right place * Update permissions * Revert PR trigger * Update edgetest.yml --- .github/workflows/edgetest.yml | 6 +++++- pyproject.toml | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/edgetest.yml b/.github/workflows/edgetest.yml index a690653..b8b4d94 100644 --- a/.github/workflows/edgetest.yml +++ b/.github/workflows/edgetest.yml @@ -5,10 +5,14 @@ name: Run edgetest on: schedule: - cron: '35 17 * * 5' + workflow_dispatch: jobs: edgetest: runs-on: ubuntu-latest name: running edgetest + permissions: + contents: write + pull-requests: write steps: - uses: actions/checkout@v4 with: @@ -19,7 +23,7 @@ jobs: cp tests/data/.locopyrc ~/.locopyrc cp tests/data/.locopy-sfrc ~/.locopy-sfrc - id: run-edgetest - uses: fdosani/run-edgetest-action@v1.3 + uses: edgetest-dev/run-edgetest-action@v1.5 with: edgetest-flags: '-c pyproject.toml --export' base-branch: 'develop' diff --git a/pyproject.toml b/pyproject.toml index 0f7e292..91bf317 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -104,7 +104,7 @@ ban-relative-imports = "all" convention = "numpy" [edgetest.envs.core] -python_version = "3.9" +python_version = "3.10" extras = [ "tests", "psycopg2",