diff options
| author | Miquel Sabaté Solà <mikisabate@gmail.com> | 2024-12-20 16:49:46 +0100 |
|---|---|---|
| committer | Miquel Sabaté Solà <mikisabate@gmail.com> | 2024-12-20 16:49:46 +0100 |
| commit | 0087cc0631ae8e8b1892e674e34a9daa84ad0bb9 (patch) | |
| tree | aadcac9318a45dd0177cedacc169269c5eba4cc6 /.github/workflows/ci.yml | |
| parent | d88fab8c004b3f2556714725bc1e9d48ec6c619f (diff) | |
| download | tools.nes-0087cc0631ae8e8b1892e674e34a9daa84ad0bb9.tar.gz tools.nes-0087cc0631ae8e8b1892e674e34a9daa84ad0bb9.zip | |
Introduce end-to-end tests
For now I have added the most simple example for an NES/Famicom game,
which I already had on a private repository (that I plan to open source
soonish).
Tests simply run `nasm` on known source files and compares the results
with an .nes ROM file that has the exact bytes that we expect.
Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
Diffstat (limited to '.github/workflows/ci.yml')
| -rw-r--r-- | .github/workflows/ci.yml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0d6e641..df4ad3d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,6 +26,19 @@ jobs: - name: Run Clippy run: cargo clippy --all-targets --all-features + e2e-tests: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: Ensure latest Rust stable + run: | + rustup update stable + rustup default stable + + - name: Run end-to-end tests + run: bash ./scripts/test-e2e.sh + fuzz_parser: runs-on: ubuntu-latest steps: |
