Release of v0.6.0.dev0 #62
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
# | |
# Copyright (c) 2022-2023 MeteoSwiss, created by F.P.A. Vogt; [email protected] | |
name: CI_speed_check | |
on: | |
pull_request: | |
branches: [ master, develop, develop_vof ] | |
jobs: | |
speed_check: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
python-version: ['3.9', '3.10', '3.11'] | |
steps: | |
# Checkout our repository | |
- name: Checkout current repository | |
uses: actions/checkout@v3 | |
# Set up Python | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
# Install any dependency we require | |
- name: Install dependancies | |
run: | | |
python -m pip install --upgrade pip | |
shell: bash | |
# Here, let's install our module to make sure all the dependencies specified in setup.py are | |
# also installed | |
- name: Install our module | |
run: pip install -e .[dev] | |
shell: bash | |
# Launch a home-made python script to check the speed | |
- name: Run the speed test | |
run: python .github/workflows/speed_check.py | |
shell: bash |