Skip to content

Commit

Permalink
Fix test environment (#56)
Browse files Browse the repository at this point in the history
* fix test environment

* fix environment for output generation

* do not checkout when collect test coverage statistics
  • Loading branch information
chanwutk committed Apr 24, 2024
1 parent 269b76c commit fd8b08d
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 14 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,11 @@ jobs:
- name: Setup Micromamba
uses: mamba-org/setup-micromamba@v1
with:
environment-file: environment.yml
environment-name: spatialyze
create-args: >-
-c conda-forge
python=3.10
poetry=1.5.1
init-shell: none
cache-downloads: false

Expand Down
28 changes: 15 additions & 13 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,11 @@ jobs:
- name: Setup Micromamba
uses: mamba-org/setup-micromamba@v1
with:
environment-file: environment.yml
environment-name: spatialyze
create-args: >-
-c conda-forge
python=3.10
poetry=1.5.1
init-shell: none
cache-downloads: false

Expand Down Expand Up @@ -129,7 +133,11 @@ jobs:
- name: Setup Micromamba
uses: mamba-org/setup-micromamba@v1
with:
environment-file: environment.yml
environment-name: spatialyze
create-args: >-
-c conda-forge
python=3.10
poetry=1.5.1
init-shell: none
cache-downloads: false

Expand Down Expand Up @@ -281,7 +289,11 @@ jobs:
- name: Setup Micromamba
uses: mamba-org/setup-micromamba@v1
with:
environment-file: environment.yml
environment-name: spatialyze
create-args: >-
-c conda-forge
python=3.10
poetry=1.5.1
init-shell: none
cache-downloads: false

Expand Down Expand Up @@ -374,11 +386,6 @@ jobs:
needs: [test-video-processor, test-engine-and-interface, test-workflow]
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
token: ${{ secrets.GH_PAT || github.token }}

- name: Download Coverage
uses: actions/download-artifact@v3

Expand Down Expand Up @@ -427,11 +434,6 @@ jobs:
needs: [test-video-processor, test-engine-and-interface, test-workflow]
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
token: ${{ secrets.GH_PAT || github.token }}

- name: Download Count
uses: actions/download-artifact@v3
with:
Expand Down

0 comments on commit fd8b08d

Please sign in to comment.