Skip to content

Add MatrixAdminClient #58

Add MatrixAdminClient

Add MatrixAdminClient #58

Workflow file for this run

name: CI
on:
push:
branches:
- '**' # This will run the workflow on every push to any branch
jobs:
build_and_test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Run tests
run: make test-ci
pypi-publish:
if: github.ref == 'refs/heads/main'
name: upload release to PyPI
runs-on: ubuntu-latest
# Specifying a GitHub environment is optional, but strongly encouraged
environment: release
permissions:
# IMPORTANT: this permission is mandatory for trusted publishing
id-token: write
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Install Poetry & Build
run: pip install poetry; poetry build
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1