Skip to content

Commit

Permalink
Merge pull request #7 from grkmyvz/grkmyvz/github-tests
Browse files Browse the repository at this point in the history
Edited `test.yml`for github tests
  • Loading branch information
grkmyvz authored Sep 1, 2023
2 parents 4d556c6 + 6acf23c commit e99ab76
Showing 1 changed file with 15 additions and 6 deletions.
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

0 comments on commit e99ab76

Please sign in to comment.