Weekly update #238
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
name: Weekly update | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: "0 12 * * 0" | |
jobs: | |
basic: | |
name: Head on Python 3.11 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
# Note: you need to add a git pull here if you are not on a clean checkout, but CI always is | |
- name: Update to latest | |
run: git submodule foreach "git checkout develop || git checkout master" | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3.11" | |
- name: Build and install wheel | |
run: pip install -v .[test] | |
- name: Test | |
run: python -m pytest |