Skip to content

Commit

Permalink
[20/11/23] Splitting workflow files by language
Browse files Browse the repository at this point in the history
  • Loading branch information
andrwcnln committed Nov 20, 2023
1 parent 8d9ab1a commit 6b2d7c9
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 16 deletions.
18 changes: 2 additions & 16 deletions .github/workflows/tests.yml → .github/workflows/python.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: tests
name: Python

on:
push:
Expand All @@ -7,11 +7,8 @@ on:
permissions:
contents: read

env:
CARGO_TERM_COLOR: always

jobs:
python:
build:

runs-on: ubuntu-latest

Expand All @@ -36,14 +33,3 @@ jobs:
- name: Test with pytest
run: |
pytest -v tests
rust:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
23 changes: 23 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Rust

on:
push:
branches: [ "dev" ]

permissions:
contents: read

env:
CARGO_TERM_COLOR: always

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose

0 comments on commit 6b2d7c9

Please sign in to comment.