Test with latest stable Python (3.12) #306
Workflow file for this run
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: Test | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
- uses: psf/black@stable | |
build-and-test: | |
# 03/27/23: it looks like there are issues with the tarballs for all python 3.6 versions | |
# that are on ubuntu-22.04 (ubuntu-latest at the time). To maintain python compatibility | |
# we're pinning ubuntu-20.04 so that we can properly run install python 3.6. | |
# | |
# As soon as this issue is addressed, we should put the image back to ubuntu-latest: | |
# https://github.com/actions/setup-python/issues/544 | |
runs-on: ubuntu-20.04 | |
name: Python Library tests | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v2 | |
- name: Setup Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.6' | |
- name: Run tests | |
env: | |
SANDBOX_API_KEY: ${{ secrets.SANDBOX_API_KEY }} | |
run: make test |