-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8f35006
commit d1e87f8
Showing
1 changed file
with
6 additions
and
1 deletion.
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 |
---|---|---|
|
@@ -21,14 +21,18 @@ jobs: | |
uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.10' | ||
- name: Install asv | ||
- name: Install asv and virtualenv | ||
run: | | ||
sudo apt-get update | ||
python -m pip install --upgrade pip | ||
pip install asv | ||
pip install virtualenv | ||
- name: Checkout project repository | ||
uses: actions/checkout@v3 | ||
- name: Config git identity | ||
run: | | ||
git config user.email "[email protected]" | ||
git config user.name "Sandro Campos" | ||
- name: Create ASV machine config file | ||
run: asv machine --config $ASV_CONFIG --yes -v | ||
- name: Run benchmarks with asv | ||
|
@@ -41,5 +45,6 @@ jobs: | |
if: ${{ github.event_name == 'push' }} | ||
run: | | ||
asv run --config $ASV_CONFIG -v | ||
asv publish --config $ASV_CONFIG -v | ||
asv gh-pages --config $ASV_CONFIG -v | ||