Gulshan Singh
b9c9f12efc
Add qemu tests to CI
2023-01-25 03:32:17 -08:00
Gulshan Singh
3d57be41e2
Don't fail CI if codecov upload fails ( #1532 )
2023-01-18 19:42:56 -08:00
Gulshan Singh
bc59a8eddd
Fix memoize type issues and enable mypy in lint script ( #1518 )
...
* memoize type fixes
* Add mypy to lint script
* Add mypy to dev-requirements.txt
2023-01-11 13:39:30 +01:00
Gulshan Singh
d9f6934858
Run lint CI job and Ubuntu 22.04 and 18.04 ( #1505 )
...
* Run lint CI job and Ubuntu 22.04 and 18.04
* Fix lint errors
2023-01-04 21:33:44 -08:00
Mohit Saxena
894f6e2103
Update tests.yml
2022-12-19 23:09:17 +01:00
Mohit Saxena
0b0b09c7f5
Update tests.yml
2022-12-19 23:09:17 +01:00
Xeonacid
1224cf75ef
Support Arch Linux docker test ( #1378 )
...
* Specify dockerfile for ubuntu/debian
To add Dockerfile.arch later
* Support Arch Linux docker test
* Fix setup-dev supported distro
* Create set_zigpath function
* Download zig from upstream for archlinux
* Add hash as part of key for docker cache
as https://github.com/satackey/action-docker-layer-caching#inputs notes.
2022-11-22 19:21:40 +01:00
Disconnect3d
dd6454065d
Merged #1351 PR: Run tests in docker images ( #1370 )
...
* Added images to DockerFile
* Docker test
* Docker.yml changes, longer timeout and naming changes
* typo in run command
* added matrix for docker workflow 'testing'
* typo in matrix
* git fixes
* docker testing
* Changed stage build'testing'
* testing docker change
* Run images in seperate containers
* docker files added
* reverted Dockerfile
* Removed files from the index (now ignored)
* Docker test, changed build to pull
* Update comments in Ubuntu and Debian dockerfiles
* added main service back
* Reducing common code
* Condensing docker-compose.yml
* Revert docker-compose.yml changes
* Removing matrix from docker-compose.yml
* removing target images from docker-compose
* Added dockerfile-unitTests
* Condensing docker-compose.yml
* Reverting compose changes
* Merged Dockerfiles and fixed image names
* removed .DS_Store
* Revert pycharm_debugging.md
* Testing remove
* Testing remove
* Remove ds files
* Add files via upload
* Add files via upload
* Docker changes
* Docker workflow changes
* Update Dockerfile
* Update docker-compose.yml
* shorten docker-compose.yml by using yaml anchors
* fix docker-compose.yml
Co-authored-by: Kevin Nguyen <u7315258@anu.edu.au>
Co-authored-by: Filip Mazur <110886132+mazfil@users.noreply.github.com>
Co-authored-by: KevinN318 <110944398+KevinN318@users.noreply.github.com>
Co-authored-by: Filip Mazur <u6934917@anu.edu.au>
2022-11-11 07:23:02 +01:00
Gulshan Singh
f9dac535c3
Delete old issue template ( #1343 )
2022-10-24 08:35:39 -07:00
Gulshan Singh
8debb56105
Create pull_request_template.md ( #1342 )
2022-10-24 08:31:10 -07:00
Gulshan Singh
7efaa33b0c
Install shfmt on Ubuntu 22.04, otherwise skip running linter ( #1323 )
2022-10-23 01:33:00 +02:00
Gulshan Singh
b0b6a8fa30
Rename setup-test-tools.sh to setup-dev.sh ( #1320 )
2022-10-22 09:50:48 -07:00
Tingfeng Yu
61ad340d25
made codecov optional, enable it with -c or --cov ( #1322 )
...
Co-authored-by: Tingfeng Yu <tingfeng.yu@anu.edu.au>
2022-10-22 09:37:45 -07:00
Disconnect3d
6af5d7d7ed
Increase CI timeout to 20 minutes ( #1309 )
2022-10-20 22:45:58 +02:00
Gulshan Singh
f0ea79575d
Add unit-test for find_fake_fast command
2022-10-18 15:06:33 -07:00
Gulshan Singh
9a67233cd1
Store coverage files in .cov directory
2022-10-18 14:21:22 -07:00
Gulshan Singh
8eabec5541
fixed coverage uploading
2022-10-18 11:00:30 -07:00
Gulshan Singh
0d73e9d8c9
Cleanup requirements and run full setup in lint CI job ( #1230 )
2022-10-05 18:15:18 -07:00
Miles Liu
8d184a9e8e
Upload codecov report only from Ubuntu22.04
...
Also update GitHub action dependencies.
2022-09-29 12:47:22 +02:00
Gulshan Singh
cc50024417
Format shell scripts with shfmt ( #1123 )
...
* Add lint.sh script
* Format shell scripts with shfmt and add to lint.sh
Co-authored-by: Disconnect3d <dominik.b.czarnota@gmail.com>
2022-09-05 13:24:52 +02:00
Gulshan Singh
bbf1397a2b
Add lint.sh script ( #1122 )
2022-09-05 13:18:40 +02:00
Gulshan Singh
9755a40d7b
Build docker in CI ( #1117 )
2022-09-05 02:19:55 +02:00
Gulshan Singh
1df714d700
Fix PEP8 violations and add flake8 to CI ( #1102 )
...
* Add flake8 config to setup.cfg
* Fix W291 PEP8 warnings
* Fix W605 PEP8 warnings
* Fix E711 PEP8 error
* Fix E713 PEP8 errors
* Fix E262 PEP8 errors
* Fix E714 PEP8 error
* Fix E712 PEP8 errors
* Add flake8 to CI
2022-08-30 03:19:30 +02:00
Gulshan Singh
d8b589d823
Add black to CI ( #1101 )
...
* Add black to CI
* Rename linter step
2022-08-30 02:34:34 +02:00
Gulshan Singh
2bde0cc1d8
Update CI to test 18.04, 20.04, and 22.04 ( #1100 )
...
* Fix requirements.txt for Python 3.6
* Install coverage from setup-test-tools.sh
* Update CI to test Ubuntu 18.04, 20.04, and 22.04
2022-08-28 23:11:16 +02:00
Disconnect3d
9636331504
CI: show installed packages
2021-10-10 23:45:52 +02:00
patryk4815
c8c9e3f003
Add Codecov
2021-10-02 15:15:56 +02:00
Arusekk
9c8df00462
Add basic coverage testing
2021-10-02 15:15:56 +02:00
Disconnect3d
526b3ea9c6
Hopefully fix CI tests
2021-10-02 11:15:40 +02:00
Disconnect3d
6fd42dd5ab
Add attachp command and tests for it
2021-09-21 03:20:08 +02:00
Israel Alberto RV
bf49bf8356
Unit test fix ( #868 )
...
* Fixed the failed unit testing; Improved the Dockerfile, again.
* Fixed missing new line joiner in the Dockerfile.
* Fixed the default Python version from 2 to 3.
* Moved the installation of the nasm and golang packages to the setup script.
* Fixed the extra quotes which fails the sudo check.
* Added to the Git ignore file the output files assembled and linked in the test binaries.
* Removed the output files from test binaries.
* Added to the Git ignore file the virtual environment directory.
* Added sudo to the remove and link the Python3 binary.
* Added commands related to GO, to check why is failing.
* Fixed the installation of GO, only install if not exists in Ubuntu.
* Fixed the first test built in Assembler. Checks if it is working in GitHub.
* Fixed the problem with all the assembler tests; Extracted the asserts into methods, avoiding duplicates.
* Fixed some test, should be fail the Travis tests.
* Fixed one test for Travis.
* Fixed the asserts, now find all ecpected items into the output.
* Fixed the split message, joined again.
* Fixed the last error test for loads binary.
* Fixed one missing number in the comparison.
* Fixed the first Lint errors.
* Added comment in the Dockerfile.
The commented line about `git submodule`.
https://github.com/pwndbg/pwndbg/pull/868#discussion_r549075767
* Removed NASM and Go from the setup.
Created a new bash script to install them and added to the Dockerfile.
https://github.com/pwndbg/pwndbg/pull/868/files#r549075931
https://github.com/pwndbg/pwndbg/pull/868/files#r549076078
* Added the setup script in the GitHub test workflow.
https://github.com/pwndbg/pwndbg/pull/868/files#r549075931
https://github.com/pwndbg/pwndbg/pull/868/files#r549076078
* Testing the emulate cases.
It should be fail. I commented the emulation for the address 0x401000.
https://github.com/pwndbg/pwndbg/pull/868#discussion_r549111511
* Fixed the different start addresses in the assembler test.
https://github.com/pwndbg/pwndbg/pull/868#discussion_r549111511
https://github.com/pwndbg/pwndbg/pull/868#discussion_r549075485
* Experimenting with the python location.
Commented the remove python binary and added some logs.
https://github.com/pwndbg/pwndbg/pull/868#discussion_r549076170
* Removed the commands about delete Python and link the Python3.
https://github.com/pwndbg/pwndbg/pull/868#discussion_r549076170
2020-12-31 04:35:52 +01:00
Disconnect3d
301012abf2
Py3k ( #817 )
...
* Py3k
* Dont run py2 on CI
* Don't launch futurize on CI
* Move to latest isort options
* Modernize imports (isort>=5)
* Fix removed jump dir
2020-08-15 21:27:47 +02:00
Disconnect3d
ccd8f76803
Remove travis ( #816 )
...
* Remove travis
* Remove travis
2020-08-15 20:56:08 +02:00
Arusekk
ce2266e95d
Add GitHub Actions support ( #809 )
2020-08-15 20:51:53 +02:00
WeSeekAfterKnowledge
016326f205
Update issue templates ( #776 )
2020-05-31 19:01:47 +02:00
Andrew Righter
3643ae43bb
Update CONTRIBUTING.md ( #593 )
...
Fixed broken relative link for developer notes.
2019-02-05 14:48:12 -06:00
Disconnect3d
2a9149b96b
Add developer notes ( #405 )
2018-01-18 08:54:00 +01:00
Disconnect3d
3b7fac68d3
Add CONTRIBUTING and ISSUE_TEMPLATE ( #238 )
2017-04-21 16:01:29 -05:00