Skip to content

Commit

Permalink
CI: Quicker runs
Browse files Browse the repository at this point in the history
  • Loading branch information
HaoZeke committed Feb 11, 2024
1 parent 5b51a2a commit 9d32809
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/build_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,20 @@ jobs:
python-version: ["3.9"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
- uses: conda-incubator/setup-miniconda@v3
with:
python-version: ${{ matrix.python-version }}
- uses: actions/checkout@v3
activate-environment: bench
allow-softlinks: true
python-version: ${{ matrix.python }}
channels: conda-forge
channel-priority: strict
miniforge-version: latest
use-only-tar-bz2: true
use-mamba: true
- uses: actions/checkout@v4
- name: Build and test
run: |
pip install -e .
pip install asv virtualenv
asv machine --yes
asv run
asv run --quick --dry-run
2 changes: 1 addition & 1 deletion asv.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"project_url": "http://github.com/HaoZeke/asv_builder_examples",
"repo": ".",
"branches": ["main"],
"environment_type": "virtualenv",
"environment_type": "mamba",
"matrix": {
"req": {
"numpy": ["", null],
Expand Down

0 comments on commit 9d32809

Please sign in to comment.