-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update copier template to v0.11.1 (#62)
Co-authored-by: quant-ranger[bot] <132915763+quant-ranger[bot]@users.noreply.github.com> Co-authored-by: kklein </>
- Loading branch information
1 parent
50c7dc8
commit 3c09dce
Showing
7 changed files
with
39 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,3 @@ | ||
<!-- | ||
Thank you for pull request. | ||
Below are a few things we ask you kindly to self-check before getting a review. Remove checks that are not relevant. | ||
--> | ||
|
||
# Checklist | ||
|
||
- [ ] Added a `CHANGELOG.rst` entry |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,15 +27,35 @@ jobs: | |
fetch-depth: 0 | ||
- name: Run pre-commit-conda | ||
uses: quantco/pre-commit-conda@v1 | ||
mypy-type-checks: | ||
name: Mypy Type Checks | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout branch | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: ${{ github.head_ref }} | ||
fetch-depth: 0 | ||
- name: Set up Conda env | ||
uses: mamba-org/setup-micromamba@422500192359a097648154e8db4e39bdb6c6eed7 | ||
with: | ||
condarc-file: .github/assets/.condarc | ||
environment-file: environment.yml | ||
cache-environment: true | ||
- name: Install repository | ||
run: python -m pip install --no-build-isolation --no-deps --disable-pip-version-check -e . | ||
- name: Run mypy | ||
run: mypy . | ||
|
||
linux-unittests: | ||
name: "Unit tests - Python ${{ matrix.PYTHON_VERSION }}" | ||
unit-tests: | ||
name: Unit Tests - ${{ matrix.os == 'ubuntu-latest-8core' && 'Linux' || 'Windows' }} - Python ${{ matrix.python-version }} | ||
timeout-minutes: 30 | ||
runs-on: ubuntu-latest-8core | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
PYTHON_VERSION: ["3.10", "3.11", "3.12"] | ||
os: [ubuntu-latest-8core] | ||
python-version: ["3.10", "3.11", "3.12"] | ||
steps: | ||
- name: Checkout branch | ||
uses: actions/checkout@v4 | ||
|
@@ -49,15 +69,15 @@ jobs: | |
environment-file: environment.yml | ||
cache-environment: true | ||
create-args: >- | ||
python=${{ matrix.PYTHON_VERSION }} | ||
python=${{ matrix.python-version }} | ||
pytest-md | ||
pytest-emoji | ||
- name: Install repository | ||
run: python -m pip install --no-build-isolation --no-deps --disable-pip-version-check -e . | ||
- name: Run unittests | ||
uses: quantco/pytest-action@v2 | ||
with: | ||
report-title: "Unit tests Linux - Python ${{ matrix.PYTHON_VERSION }}" | ||
report-title: Unit Tests - ${{ matrix.os == 'ubuntu-latest' && 'Linux' || 'Windows' }} - Python ${{ matrix.python-version }} | ||
custom-arguments: --cov=metalearners --cov-report=xml --cov-report term-missing --color=yes | ||
- name: Upload coverage reports to Codecov | ||
uses: codecov/[email protected] | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters