Skip to content

Commit

Permalink
ci fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Okm165 committed Apr 21, 2024
1 parent 2fcedc5 commit ad7b8d3
Showing 1 changed file with 6 additions and 17 deletions.
23 changes: 6 additions & 17 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
pull_request:

jobs:
setup:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
Expand All @@ -25,28 +25,17 @@ jobs:
with:
python-version: '3.9'

- name: Provision Environment
run: python install.py

- name: Format code
run: cargo fmt --check

- name: Provision Environment
run: python install.py

- name: Build
run: cargo build

tests:
needs: setup
runs-on: ubuntu-latest
steps:

- name: Run cargo tests
run: cargo test

- name: Run snforge tests
run: snforge test

full_tests:
needs: setup
runs-on: ubuntu-latest
steps:
- name: Run cargo full_tests
run: cargo test --features full_test
run: snforge test

0 comments on commit ad7b8d3

Please sign in to comment.