Skip to content

Commit

Permalink
Fix GA workflow (#134).
Browse files Browse the repository at this point in the history
  • Loading branch information
hmgaudecker committed Mar 28, 2023
1 parent 1e99c6b commit 43017ee
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions {{cookiecutter.project_slug}}/.github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ concurrency:
on:
push:
branches:
- main
- main
pull_request:
branches:
- '*'
- "*"
jobs:
run-tests:
name: Run tests for ${{ matrix.os }} on ${{ matrix.python-version }}
Expand All @@ -24,22 +24,22 @@ jobs:
- macos-latest
- windows-latest
python-version:
- '3.11'
- "3.11"
steps:
- uses: actions/checkout@v3
- name: create build environment
uses: mamba-org/provision-with-micromamba@main
with:
environment-file: environment.yml
environment-name: "{{ cookiecutter.project_slug }}"
environment-name: {{ cookiecutter.project_slug }}
cache-env: true
extra-specs: |
python=${{ matrix.python-version }}
- name: run pytest
shell: bash -l {0}
run: |
micromamba activate gettsim
pytest --cov-report=xml --cov=./ --ignore=dashboard/
micromamba activate {{ cookiecutter.project_slug }}
pytest --cov-report=xml --cov=./
- name: Upload coverage report.
if: runner.os == 'Linux' && matrix.python-version == '3.11'
uses: codecov/codecov-action@v3
Expand Down

0 comments on commit 43017ee

Please sign in to comment.