Weekly update #175
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@v3 | |
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@v4 | |
with: | |
python-version: "3.11" | |
- name: Build and install wheel | |
run: pip install -v .[test] | |
- name: Test | |
run: python -m pytest |