Add workaround for missing content types in response fields, use correct affordance keys #49
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: pull_request | |
jobs: | |
lint: | |
name: Linting and formatting | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v3 | |
name: Install Python | |
with: | |
python-version: "3.x" | |
- name: Install tox | |
run: python -m pip install tox | |
- name: Run test suite | |
run: python -m tox -p -e flake8,black,yamllint | |
test_tox: | |
name: Run full tests | |
needs: lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v3 | |
name: Install Python | |
with: | |
python-version: "3.x" | |
- name: Install Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: "latest" | |
- name: Install node modules | |
run: npm ci | |
- name: Install node modules | |
run: npm run build | |
- name: Install tox | |
run: python -m pip install tox | |
- name: Run test suite | |
run: python -m tox -e py3 |