Skip to content

Commit

Permalink
CI: update ci config (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
martinfleis authored Jun 19, 2024
1 parent 00805d7 commit 9af55db
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,13 @@ on:
schedule:
- cron: "59 23 * * 3"

workflow_dispatch:
inputs:
version:
description: Manual test execution
default: test
required: false

jobs:
Tests:
name: ${{ matrix.os }}, ${{ matrix.environment-file }}
Expand All @@ -29,14 +36,13 @@ jobs:

steps:
- name: checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: setup micromamba
uses: mamba-org/provision-with-micromamba@main
uses: mamba-org/setup-micromamba@main
with:
environment-file: ${{ matrix.environment-file }}
micromamba-version: "latest"
channel-priority: "flexible"

- name: Install geodatasets
run: pip install .
Expand All @@ -48,4 +54,4 @@ jobs:
run: pytest -v . -m "request" --cov=geodatasets --cov-append --cov-report term-missing --cov-report xml --color=yes
if: matrix.os == 'ubuntu-latest' && matrix.environment-file == 'ci/latest.yaml'

- uses: codecov/codecov-action@v3
- uses: codecov/codecov-action@v4

0 comments on commit 9af55db

Please sign in to comment.