Skip to content

Commit

Permalink
fix actions
Browse files Browse the repository at this point in the history
  • Loading branch information
amfet42 committed Jun 26, 2023
1 parent 25ec6b3 commit 018cc3f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/.pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,13 @@ name: pre-commit

on: [pull_request, push]

env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: pre-commit/action@v3.0.0
10 changes: 6 additions & 4 deletions .github/workflows/unit-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,24 @@ jobs:
boa-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Cache Compiler Installations
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
~/.vvm
key: compiler-cache

- name: Setup Python 3.10.4
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: 3.10.4

- name: Install Requirements
run: pip install poetry==1.5.1 & poetry install
run: |
pip install poetry==1.5.1
poetry install
- name: Run Tests
run: python -m pytest tests/boa -n auto

0 comments on commit 018cc3f

Please sign in to comment.