Skip to content

Commit

Permalink
ci: Refactored pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
micmurawski committed Jan 26, 2024
1 parent 989e0b5 commit 2c38645
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 5 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Release
on:
pull_request:
types: [opened]
jobs:
test:
name: Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Create venv
run: make venv
- name: Run tests
run: make test
7 changes: 2 additions & 5 deletions .github/workflows/main.yml → .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
name: Tests
name: Release
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:
jobs:
test:
name: "Tests"
name: Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down

0 comments on commit 2c38645

Please sign in to comment.