Skip to content

Commit

Permalink
update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanSoley committed Sep 18, 2023
1 parent 8a75ad2 commit ca31eca
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/edgetest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ jobs:
- id: run-edgetest
uses: fdosani/[email protected]
with:
edgetest-flags: '-c setup.cfg --export'
edgetest-flags: '-c pyproject.toml --export'
base-branch: 'main'
skip-pr: 'false'
3 changes: 1 addition & 2 deletions .github/workflows/publish-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,9 @@ jobs:
channels: conda-forge
channel-priority: true
activate-environment: rubicon-ml-docs
environment-file: docs/docs-environment.yml
- name: Install rubicon-ml
run: |
pip install --no-deps -e .
pip install -e ".[docs]"
- name: Build
run: |
cd docs
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/test-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,10 @@ jobs:
miniforge-variant: Mambaforge
channels: conda-forge
channel-priority: true
activate-environment: rubicon-ml-dev
environment-file: environment.yml
activate-environment: rubicon-ml-tests
- name: Install rubicon-ml
run: |
pip install ".[tests]"
- name: Check formatting with black
run: |
black --check rubicon_ml/ tests/
Expand All @@ -41,7 +43,7 @@ jobs:
flake8 rubicon_ml/ tests/
- name: Validate build
run: |
python setup.py sdist bdist_wheel
python -m build . --wheel
pip install dist/rubicon_ml-*.whl
- name: Test with pytest
run: |
Expand Down

0 comments on commit ca31eca

Please sign in to comment.