Skip to content

Merge pull request #7 from grkmyvz/grkmyvz/github-tests #5

Merge pull request #7 from grkmyvz/grkmyvz/github-tests

Merge pull request #7 from grkmyvz/grkmyvz/github-tests #5

Workflow file for this run

name: Test
on:
pull_request:
push:
branches:
- main
env:
FOUNDRY_PROFILE: ci
jobs:
check:
strategy:
fail-fast: true
name: Contract Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
- name: Run Forge build
run: |
forge --version
forge build --sizes
id: build
- name: Run NFTContract test
run: |
forge test --mc NFTContractAudit -vvv
id: nftcontracttests
- name: Run TokenSale test
run: |
forge test --mc TokenSaleAudit -vvv
id: tokensaletests