Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Edited test.ymlfor github tests #7

Merged
merged 5 commits into from
Sep 1, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 15 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: test
name: Test

on: workflow_dispatch
on:
pull_request:
push:
branches:
- main

env:
FOUNDRY_PROFILE: ci
Expand All @@ -10,7 +14,7 @@ jobs:
strategy:
fail-fast: true

name: Foundry project
name: Contract Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -28,7 +32,12 @@ jobs:
forge build --sizes
id: build

- name: Run Forge tests
- name: Run NFTContract test
run: |
forge test -vvv
id: test
forge test --mc NFTContractAudit -vvv
id: nftcontracttests

- name: Run TokenSale test
run: |
forge test --mc TokenSaleAudit -vvv
id: tokensaletests