fix autopep8 python3.12 breaking lines #127
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
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions | |
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python | |
name: Pytest Local Repo Devcontainer | |
on: | |
push: | |
branches: [ "main" ] | |
paths: | |
- 'ghidriff/**' | |
- 'tests/**' | |
- '.github/workflows/pytest-devcontainer.yml' | |
pull_request: | |
branches: [ "main" ] | |
workflow_dispatch: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Test with pytest on devcontainer | |
uses: devcontainers/ci@v0.3 | |
with: | |
cacheFrom: ghcr.io/clearbluejar/ghidra-python | |
push: never | |
#platform: linux/amd64,linux/arm64 | |
runCmd: | | |
env | |
ls /usr/local/include/ | |
pip install --upgrade pip | |
python -m venv env | |
source env/bin/activate | |
# install package and testing | |
pip install -e ".[testing]" | |
# install plugins before use | |
python -m pyhidra.install_plugins | |
# download data to shared test data | |
if [ ! -d "tests/data" ]; then git clone https://github.com/clearbluejar/ghidriff-test-data.git tests/data; fi | |
pytest -rA -n auto |