fix compilation tests

pull/1782/head
alpharush 2 years ago
parent 4d1f10e745
commit b0e589ec4f
  1. 48
      .github/workflows/compilation.yml
  2. 5
      .github/workflows/features.yml

@ -0,0 +1,48 @@
---
name: Compilation tests
defaults:
run:
# To load bashrc
shell: bash -ieo pipefail {0}
on:
pull_request:
branches: [master, dev]
schedule:
# run CI every day even if no PRs/merges occur
- cron: '0 12 * * *'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
name: Compilation tests
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-2022]
steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: Set up Python 3.8
uses: actions/setup-python@v3
with:
python-version: 3.8
- name: Install dependencies
run: |
pip install ".[dev]"
pushd tests/e2e/compilation/test_data/test_node_modules/
npm install hardhat
popd
- name: Test with pytest
run: |
pytest tests/e2e/compilation/

@ -39,11 +39,6 @@ jobs:
run: |
pip install ".[dev]"
cd tests/test_node_modules/
npm install hardhat
cd ../..
- name: Test with pytest
run: |
pytest tests/unit/
Loading…
Cancel
Save