[CHA-15] Added pin, archive and partial member update functions #480
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: build | |
on: | |
push: | |
branches: | |
- "master" | |
pull_request: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
name: 🧪 Test & lint | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
max-parallel: 1 | |
matrix: | |
python: ["3.8", "3.9", "3.10", "3.11", "3.12"] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 # gives the commit message linter access to all previous commits | |
- uses: actions/setup-python@v3 | |
with: | |
python-version: ${{ matrix.python }} | |
- name: Install deps with ${{ matrix.python }} | |
run: pip install ".[test, ci]" | |
- name: Lint with ${{ matrix.python }} | |
if: ${{ matrix.python == '3.8' }} | |
run: make lint | |
- name: Test with ${{ matrix.python }} | |
env: | |
STREAM_KEY: ${{ secrets.STREAM_KEY }} | |
STREAM_SECRET: ${{ secrets.STREAM_SECRET }} | |
PYTHONPATH: ${{ github.workspace }} | |
run: make test |