-
Notifications
You must be signed in to change notification settings - Fork 4
33 lines (27 loc) · 826 Bytes
/
Copy pathpull_request.yml
File metadata and controls
33 lines (27 loc) · 826 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
30
31
32
33
name: pull_request
on: [pull_request]
permissions:
contents: read
jobs:
run_tests_and_lint:
name: "Run Tests and Lint"
runs-on: ubuntu-latest
steps:
- run: echo "Running build and test for ${{ github.ref }} branch"
- name: Check out repository code
uses: actions/checkout@v2
with:
fetch-depth: 1
- name: Installing gettext
run: sudo apt-get install gettext
- name: Installing the project
run: make docker/install
- name: Running Lint
run: make docker/lint
- name: Running tests
run: make docker/test
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4.0.1
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
slug: marcieltorres/safe-chat-slack-bot