forked from moneymeets/python-poetry-buildpack
-
Notifications
You must be signed in to change notification settings - Fork 0
29 lines (21 loc) · 664 Bytes
/
ci.yml
File metadata and controls
29 lines (21 loc) · 664 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: CI
on: [ push, pull_request ]
jobs:
lint-and-test:
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
runs-on: ubuntu-22.04
timeout-minutes: 5
steps:
- uses: actions/checkout@v3
- name: Run linter
run: |
shellcheck bin/*
shellcheck -P SCRIPTDIR -x test/utils test/test-*
- run: ./run_tests.sh
test-macos:
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
runs-on: macos-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v3
- run: ./run_tests.sh