Skip to content

Commit

Permalink
build(ci): experimenting
Browse files Browse the repository at this point in the history
  • Loading branch information
MicaelJarniac committed Jul 4, 2023
1 parent 1d463fd commit 334255d
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 5 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: CI

on:
pull_request:
push:
branches: [main]

jobs:
pre-commit:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: pre-commit/[email protected]

Nox:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: snok/install-poetry@v1
- uses: daisylb/[email protected]
- run: nox --force-color
7 changes: 3 additions & 4 deletions .github/workflows/nox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,11 @@ on:
branches: [main]

jobs:
build:
run:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Install Poetry
uses: snok/install-poetry@v1
- uses: snok/install-poetry@v1
- uses: daisylb/[email protected]
- run: nox
- run: nox --force-color
2 changes: 1 addition & 1 deletion .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
branches: [main]

jobs:
pre-commit:
run:
runs-on: ubuntu-latest

steps:
Expand Down

0 comments on commit 334255d

Please sign in to comment.